mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* numeric.c (flo_divmod): round to the nearest integer. [ ruby-Bugs-14540 ] * numeric.c (flodivmod): work around for inifinity. * numeric.c (flo_divmod): work around for platforms have no round(). [ruby-dev:32247] * numeric.c (round): fallback definition. * numeric.c (flo_divmod, flo_round): use round() always. [ruby-dev:32269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@16931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
525 B
C
19 lines
525 B
C
#define RUBY_VERSION "1.8.6"
|
|
#define RUBY_RELEASE_DATE "2008-06-08"
|
|
#define RUBY_VERSION_CODE 186
|
|
#define RUBY_RELEASE_CODE 20080608
|
|
#define RUBY_PATCHLEVEL 144
|
|
|
|
#define RUBY_VERSION_MAJOR 1
|
|
#define RUBY_VERSION_MINOR 8
|
|
#define RUBY_VERSION_TEENY 6
|
|
#define RUBY_RELEASE_YEAR 2008
|
|
#define RUBY_RELEASE_MONTH 6
|
|
#define RUBY_RELEASE_DAY 8
|
|
|
|
#ifdef RUBY_EXTERN
|
|
RUBY_EXTERN const char ruby_version[];
|
|
RUBY_EXTERN const char ruby_release_date[];
|
|
RUBY_EXTERN const char ruby_platform[];
|
|
RUBY_EXTERN const int ruby_patchlevel;
|
|
#endif
|