mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Define RAT_INT_LIMIT for 32 bit platforms.
This commit is contained in:
@@ -169,6 +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_HUGE_VAL HUGE_VALF
|
||||
#else
|
||||
#define frexp_rat frexp
|
||||
|
||||
Reference in New Issue
Block a user