code wiki / _hdl_build / _pe_f64tan.nx

_pe_f64tan.nx

buildroot/runtime/_hdl_build/_pe_f64tan.nx

5707 B156 linesdepth 4pulls 5 transitivereach 2 importersview sourcekind librarytopic pe
docsdependenciesstructsconstsfunctions

about

AUTHORED BY THE NISHI BUILDER (pattern: MATH_KERNEL / TAN) -- no Claude core logic. All constants from the SOVEREIGN bigfloat spec (nx_mathspec_tan). v1 domain |x| < 2^20. Accurate-table + double-double; exact tangent-number Taylor (no minimax).

dependencies 5 imports · 2 importers

nx_syscalls.nx nx_tier.nx nx_f64.nx nx_f64_div.nx nx_f64_cvt.nx _pe_f64tan.nx _f64_tan_gate_authored.nx _pe_f64tan_test.nx

imports: nx_syscalls.nxnx_tier.nxnx_f64.nxnx_f64_div.nxnx_f64_cvt.nx

imported by: _f64_tan_gate_authored.nx_pe_f64tan_test.nx

structs

none

consts

9const TN_SMASK: i64 = 0xFFFFFFFFF8000000

functions

10func _tn_mul2(a: i64, b: i64, out: *i64) -> i64
24func _tn_2sum(a: i64, b: i64, out: *i64) -> i64
called by 1: _tn_core calls 2: nx_f64_addnx_f64_sub
32func _tn_tab(tb: *i64) -> i64
called by 1: _tn_core
70func _tn_core(ar: i64, art: i64, out: *i64) -> i64
121func nx_f64_tan(x: i64) -> i64