Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix float to float ToPrimitive implementation.
The mimimum (negative) value of a float is -Bounded::max_value(), not Bounded::min_value().
- Loading branch information
8ac0d0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at sebcrozet@8ac0d0a
8ac0d0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging sebcrozet/rust/master = 8ac0d0a into auto
8ac0d0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sebcrozet/rust/master = 8ac0d0a merged ok, testing candidate = 8f4b872
8ac0d0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1924
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1929
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1034
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1034
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1942
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1034
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1034
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1943
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1034
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1034
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/1114
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1927
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1033
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1034
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/1712
8ac0d0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 8f4b872