diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-17 09:34:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-17 09:34:56 +0900 |
| commit | 25ea4d751bc2d27372e17185399155dfa099ddc9 (patch) | |
| tree | eff612c36485300172098f29a8062343908da5df /src/numeric.c | |
| parent | b4bc39568060d365829d2ace0f84f0ba382bfeb1 (diff) | |
| download | mruby-25ea4d751bc2d27372e17185399155dfa099ddc9.tar.gz mruby-25ea4d751bc2d27372e17185399155dfa099ddc9.zip | |
use powf() instead of pow() on MRB_USE_FLOAT
Diffstat (limited to 'src/numeric.c')
| -rw-r--r-- | src/numeric.c | 1 |
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 |
