diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-25 15:42:28 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-25 15:44:59 +0900 |
| commit | 23e5c08e310e9638846fb43bfef0be1bb259da49 (patch) | |
| tree | c4070a38ad2316bd375b49dbb746a7cca944d7ce /mrbgems/mruby-rational | |
| parent | 73ce5db1700cbb3a73c964bd4b49d8cd144d1b03 (diff) | |
| download | mruby-23e5c08e310e9638846fb43bfef0be1bb259da49.tar.gz mruby-23e5c08e310e9638846fb43bfef0be1bb259da49.zip | |
Should use a limit for 32 bit platform; ref 05a8cc44
Diffstat (limited to 'mrbgems/mruby-rational')
| -rw-r--r-- | mrbgems/mruby-rational/src/rational.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-rational/src/rational.c b/mrbgems/mruby-rational/src/rational.c index 29ae55c41..c5df52a08 100644 --- a/mrbgems/mruby-rational/src/rational.c +++ b/mrbgems/mruby-rational/src/rational.c @@ -169,7 +169,7 @@ rational_new_i(mrb_state *mrb, mrb_int n, mrb_int d) #define frexp_rat frexpf #define ldexp_rat ldexpf #define RAT_MANT_DIG FLT_MANT_DIG -#define RAT_INT_LIMIT 62 +#define RAT_INT_LIMIT 30 #define RAT_HUGE_VAL HUGE_VALF #else #define frexp_rat frexp |
