diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-04 11:40:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-04 11:40:58 +0000 |
commit | 0cf0b0eed4442fe7ed07d0c0bffe8bd7acbbe166 (patch) | |
tree | 4fcbab87f937a764b89515a9310eb2c8d5ba06f9 /numeric.c | |
parent | 6da90f39c6a1874edbf02d0274e5187789152db9 (diff) |
* 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
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -63,6 +63,8 @@ #define DBL_EPSILON 2.2204460492503131e-16 #endif +extern double round(double); + #ifndef HAVE_ROUND double round(double x) @@ -79,9 +81,6 @@ round(double x) } return x; } -#elif defined(__BEOS__) -/* appears to be a bug in the BeOS headers */ -double round(double x); #endif static ID id_coerce, id_to_i, id_eq; |