Skip to main content

bigint_to_f64

Function bigint_to_f64 

Source
pub fn bigint_to_f64(b: &BigInt) -> f64
Expand description

Coerce a BigInt to f64 (for Number(bigint) and mixed relational compares); out-of-range magnitudes become ±Infinity, matching Node.