about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorVolker Mische <volker.mische@gmail.com>2013-12-02 00:47:19 +0100
committerVolker Mische <volker.mische@gmail.com>2013-12-04 16:11:39 +0100
commit30a9c6e4904f1d74b5ece97a422a0f1b148f4ba1 (patch)
treeeca427dc6dbcc44524364231342c283d7d16c431 /src/rustllvm/RustWrapper.cpp
parent91695797c2ff36017edc47af270ca665f2f4d1ef (diff)
downloadrust-30a9c6e4904f1d74b5ece97a422a0f1b148f4ba1.tar.gz
rust-30a9c6e4904f1d74b5ece97a422a0f1b148f4ba1.zip
Decode a float into integers
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions