Project

General

Profile

Actions

Bug #13528

closed

Updated by burningpony (Russell Osborne) about 8 years ago

  • Subject changed from Calling #denominator on a whole number floating point literal causes segfault with mathn loaded. to Calling #denominator on a whole number floating point number causes segfault with mathn loaded.
  • ruby -v changed from ruby 2.4.1p111 to ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]

Updated by nobu (Nobuyoshi Nakada) about 8 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED

Updated by nobu (Nobuyoshi Nakada) about 8 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r58523.


rational.c: canonicalization case

  • rational.c (float_numerator, float_denominator): fix for
    canonicalization case where Float#to_r could return an Integer
    not a Rational. although mathn.rb has been removed in the
    trunk, fix for the backport purpose.
    [ruby-core:80942] [Bug ]

Updated by usa (Usaku NAKAMURA) almost 8 years ago

  • Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) almost 8 years ago

  • Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE

ruby_2_4 r59510 merged revision(s) 58523.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0