about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-04 18:46:21 -0800
committerbors <bors@rust-lang.org>2013-12-04 18:46:21 -0800
commit64bcfd246ca0a7522069bad9f6217ec3e783db8e (patch)
tree29d84af1290b370489369d86174ee85fcbd24e6b /src/libstd/path
parentedb9e85ce2e3708abe3a81d9645054e3eab85395 (diff)
parent30a9c6e4904f1d74b5ece97a422a0f1b148f4ba1 (diff)
downloadrust-64bcfd246ca0a7522069bad9f6217ec3e783db8e.tar.gz
rust-64bcfd246ca0a7522069bad9f6217ec3e783db8e.zip
auto merge of #10803 : vmx/rust/integer-decode, r=cmr
The `integer_decode()` function decodes a float (f32/f64)
into integers containing the mantissa, exponent and sign.

It's needed for `rationalize()` implementation of #9838.

The code got ported from ABCL [1].

[1] http://abcl.org/trac/browser/trunk/abcl/src/org/armedbear/lisp/FloatFunctions.java?rev=14465#L94

I got the permission to use this code for Rust from Peter Graves (the ABCL copyright holder) . If there's any further IP clearance needed, let me know.
Diffstat (limited to 'src/libstd/path')
0 files changed, 0 insertions, 0 deletions