Module rustc_apfloat::ieee::sig [−][src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Implementation details of IeeeFloat significands, such as big integer arithmetic. As a rule of thumb, no functions in this module should dynamically allocate.
Re-exports
use std::cmp::Ordering; |
use std::mem; |
use super::ExpInt; |
use super::Limb; |
use super::LIMB_BITS; |
use super::limbs_for_bits; |
use super::Loss; |
Functions
| add |
[ Experimental ]
|
| add_or_sub |
[ Experimental ]
|
| clear_bit |
[ Experimental ] Clear the given bit. |
| cmp |
[ Experimental ] Comparison (unsigned) of two significands. |
| decrement |
[ Experimental ] Decrement in-place, return the borrow flag. |
| div |
[ Experimental ]
|
| each_chunk |
[ Experimental ] For every consecutive chunk of |
| extract |
[ Experimental ] Copy the bit vector of width |
| from_limbs |
[ Experimental ] We want the most significant PRECISION bits of |
| get_bit |
[ Experimental ] Extract the given bit. |
| increment |
[ Experimental ] Increment in-place, return the carry flag. |
| is_all_zeros |
[ Experimental ]
|
| mul |
[ Experimental ]
|
| olsb |
[ Experimental ] One, not zero, based LSB. That is, returns 0 for a zeroed significand. |
| omsb |
[ Experimental ] One, not zero, based MSB. That is, returns 0 for a zeroed significand. |
| set_bit |
[ Experimental ] Set the given bit. |
| shift_left |
[ Experimental ] Shift |
| shift_right |
[ Experimental ] Shift |
| sub |
[ Experimental ]
|
| widening_mul |
[ Experimental ]
|