diff options
| author | Volker Mische <volker.mische@gmail.com> | 2013-12-02 00:47:19 +0100 |
|---|---|---|
| committer | Volker Mische <volker.mische@gmail.com> | 2013-12-04 16:11:39 +0100 |
| commit | 30a9c6e4904f1d74b5ece97a422a0f1b148f4ba1 (patch) | |
| tree | eca427dc6dbcc44524364231342c283d7d16c431 /src/rustllvm/RustWrapper.cpp | |
| parent | 91695797c2ff36017edc47af270ca665f2f4d1ef (diff) | |
| download | rust-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
