summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-02-17 09:34:56 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-02-17 09:34:56 +0900
commit25ea4d751bc2d27372e17185399155dfa099ddc9 (patch)
treeeff612c36485300172098f29a8062343908da5df /src
parentb4bc39568060d365829d2ace0f84f0ba382bfeb1 (diff)
downloadmruby-25ea4d751bc2d27372e17185399155dfa099ddc9.tar.gz
mruby-25ea4d751bc2d27372e17185399155dfa099ddc9.zip
use powf() instead of pow() on MRB_USE_FLOAT
Diffstat (limited to 'src')
-rw-r--r--src/numeric.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/numeric.c b/src/numeric.c
index 41c559cee..d56ef9764 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -19,6 +19,7 @@
#define ceil(f) ceilf(f)
#define floor(f) floorf(f)
#define fmod(x,y) fmodf(x,y)
+#define pow(x,y) powf(x,y)
#endif
static mrb_float