Skip to main content

float2tuple

Function float2tuple 

Source
pub fn float2tuple(v: &FloatValue) -> (BigInt, BigInt)
Expand description

Python’s Num2Word_Base.float2tuple. Returns (pre, post).

precision is taken from the value rather than recomputed; Python assigns self.precision as a side effect here, and callers read it afterwards.