rust/src/libstd/num
Volker Mische 30a9c6e490 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
2013-12-04 16:11:39 +01:00
..
cmath.rs Removing ccdecl 2013-10-14 14:33:05 +02:00
f32.rs Decode a float into integers 2013-12-04 16:11:39 +01:00
f64.rs Decode a float into integers 2013-12-04 16:11:39 +01:00
i8.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
i16.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
i32.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
i64.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
int_macros.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
int.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
mod.rs Decode a float into integers 2013-12-04 16:11:39 +01:00
strconv.rs test: Remove non-procedure uses of do from compiletest, libstd tests, 2013-11-26 08:25:27 -08:00
u8.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
u16.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
u32.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
u64.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
uint_macros.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00
uint.rs Removed module macro workaround for signed and unsigned integers 2013-11-29 20:36:47 +01:00