Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an implementation detail of the `f32` and `f64` modules and it should not be public. It renames many functions and leaves out any provided by LLVM intrinsics, so it is not a sensible binding to the C standard library's math library and will never be a stable target. This also removes the abuse of link_name so that this can be switched to using automatically generated definitions in the future. This also removes the `scalbn` binding as it is equivalent to `ldexp` when `FLT_RADIX` is 2, which must always be true for Rust.
- Loading branch information
1 parent
8ca5caf
commit 5e12e1b
Showing
4 changed files
with
126 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
5e12e1b
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 cmr
at https://github.com/thestinger/rust/commit/5e12e1b1a49134f578e1778f4a1216221417bc5e
5e12e1b
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 thestinger/rust/num = 5e12e1b into auto
5e12e1b
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.
thestinger/rust/num = 5e12e1b merged ok, testing candidate = 1217cfb
5e12e1b
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/4987
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4989
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4080
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4093
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5088
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4174
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4182
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5089
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4174
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4179
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4245
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1976
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5086
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4184
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4194
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4851
5e12e1b
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 = 1217cfb