code wiki / (root) / nx_f64_cvt.nx

nx_f64_cvt.nx

buildroot/runtime/nx_f64_cvt.nx

5171 B156 linesdepth 3pulls 3 transitivereach 215 importersview sourcekind librarytopic f64
docsdependenciesstructsconstsfunctions

about

nx_f64_cvt.nx -- conversions to/from IEEE 754 binary64. v1: nx_i64_to_f64 (exact for |v| < 2^53, correctly rounded RNE beyond) nx_f64_to_f32 (narrowing with RNE, subnormal + overflow correct) license_tier: ORIGINAL

dependencies 3 imports · 31 importers

nx_syscalls.nx nx_tier.nx nx_f64.nx nx_f64_cvt.nx _ab_mk_erf.nx _bf_pow_gate_authored.nx _f64_atan_gate_authored.nx _f64_atan_gate_emitted.nx _f64_exp_gate_authored.nx _f64_gate_authored.nx _f64_log_gate_authored.nx _f64_pow_gate_authored.nx _f64_sincos_gate_authored.nx _f64_sinhcosh_gate_authored.nx

diagram shows first 10 each side; +0 more imports, +21 more importers in the complete lists below.

imports: nx_syscalls.nxnx_tier.nxnx_f64.nx

imported by: _ab_mk_erf.nx_bf_pow_gate_authored.nx_f64_atan_gate_authored.nx_f64_atan_gate_emitted.nx_f64_exp_gate_authored.nx_f64_gate_authored.nx_f64_log_gate_authored.nx_f64_pow_gate_authored.nx_f64_sincos_gate_authored.nx_f64_sinhcosh_gate_authored.nx_f64_soak_gate_authored.nx_f64_tan_gate_authored.nx_gamma_dd_probe.nx_gamma_probe.nx_pe_f64atan.nx_pe_f64erf.nx_pe_f64gamma.nx_pe_f64log.nx_pe_f64pow.nx_pe_f64sincos.nx_pe_f64sinhcosh.nx_pe_f64tan.nx_pw_probe.nx_wb_mathk.nxnx_bd_calc.nxnx_dd_verify.nxnx_f64_exp.nxnx_f64_log2.nxnx_hyp_audio.nxnx_uiq_color.nxnx_vcodec_msu_ours13.nx

structs

none

consts

none

functions

12func nx_i64_to_f64(v: i64) -> i64
49func nx_f64_to_i64(raw: i64) -> i64
82func nx_f64_ldexp(raw: i64, k: i64) -> i64
104func nx_f64_to_f32(raw: i64) -> i64