* numeric.c (round): added declaration. [ruby-dev:39222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6da90f39c6
commit
0cf0b0eed4
@ -1,3 +1,7 @@
|
|||||||
|
Fri Sep 4 20:40:57 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* numeric.c (round): added declaration. [ruby-dev:39222]
|
||||||
|
|
||||||
Fri Sep 4 06:15:39 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Fri Sep 4 06:15:39 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326]
|
* dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326]
|
||||||
|
@ -63,6 +63,8 @@
|
|||||||
#define DBL_EPSILON 2.2204460492503131e-16
|
#define DBL_EPSILON 2.2204460492503131e-16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern double round(double);
|
||||||
|
|
||||||
#ifndef HAVE_ROUND
|
#ifndef HAVE_ROUND
|
||||||
double
|
double
|
||||||
round(double x)
|
round(double x)
|
||||||
@ -79,9 +81,6 @@ round(double x)
|
|||||||
}
|
}
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
#elif defined(__BEOS__)
|
|
||||||
/* appears to be a bug in the BeOS headers */
|
|
||||||
double round(double x);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static ID id_coerce, id_to_i, id_eq;
|
static ID id_coerce, id_to_i, id_eq;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user