Skip to content

Release 4.12

Compare
Choose a tag to compare
@brixen brixen released this 07 Jan 17:11
· 106 commits to master since this release
0c0028b

Version 4.12 (2020-01-06)

  • Replaced more Float, Fixnum, Bignum primitives. (Brian Shirai)

  • Fixed spec assuming 32bit. (Brian Shirai)

  • Replaced more Integer bitwise primitives. (Brian Shirai)

  • Removed nonsense spec. (Brian Shirai)
    Not going to support this behavior. Rubinius returns true for all three
    cases:

    $ ruby -v -e 'p 0x800000000000027 <= (0x800000000000027 + 0.0)'
    ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
    false
    $ ruby -v -e 'p 1 <= (1 + 0.0)'
    ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
    true
    $ ruby -v -e 'p (264) <= ((264) + 0.0)'
    ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
    true

  • Replaced Bignum#~, Bignum#-@ primitives. (Brian Shirai)