Actions
Bug #20873
closed`printf("%f")` returns wrong result for `Rational` with `FIXNUM_MIN`
Bug #20873:
`printf("%f")` returns wrong result for `Rational` with `FIXNUM_MIN`
Actions
Added by nobu (Nobuyoshi Nakada) almost 2 years ago. Updated over 1 year ago.
Applied in changeset git|d71be7274bd2623bb521be72c245c08fc38d6ae4.
[Bug #20873] Consider -FIXNUM_MIN overflow
-FIXNUM_MIN is usually greater than FIXNUM_MAX on platforms using
two's complement representation.
ruby_3_2 a7b013b392ca0ba4930e579f4c9e40d99d871752 merged revision(s) d71be7274bd2623bb521be72c245c08fc38d6ae4.
ruby_3_3 1ec258ab7002210670171f3f2f0c4b39657e24a4 merged revision(s) d71be7274bd2623bb521be72c245c08fc38d6ae4.