Function script::dom::bindings::import::module::jsapi::JS::BigIntToNumber

source ·
pub unsafe extern "C" fn BigIntToNumber(bi: *const BigInt) -> f64
Expand description

Convert the given BigInt to a Number value as if calling the Number constructor on it (https://tc39.es/ecma262/#sec-number-constructor-number-value). The value may be rounded if it doesn’t fit without loss of precision.