Function hirofa_quickjs_sys::JS_NewFloat64
source ยท pub unsafe fn JS_NewFloat64(ctx: *mut JSContext, v: f64) -> JSValue
Expand description
create a new f64 value, please note that if the passed f64 fits in a i32 this will return a value with flag 0 (i32)