Skip to content

Commit

Permalink
use powf() instead of pow() on MRB_USE_FLOAT
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Feb 17, 2014
1 parent b4bc395 commit 25ea4d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/numeric.c
Expand Up @@ -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
Expand Down

0 comments on commit 25ea4d7

Please sign in to comment.