nx_f32_exp.nx
buildroot/runtime/nx_f32_exp.nx
about
dependencies 5 imports · 30 importers
diagram shows first 10 each side; +0 more imports, +20 more importers in the complete lists below.
imports: nx_syscalls.nxnx_tier.nxnx_f32.nxnx_f32_div.nxnx_f32_cvt.nx
imported by: nx_autograd_tensor.nxnx_coco_oks.nxnx_exp_ab.nxnx_exploop_test.nxnx_f32_activations.nxnx_f32_activations_test.nxnx_f32_exp_test.nxnx_f32_gelu.nxnx_f32_rope.nxnx_f32_rope_test.nxnx_f32_sampler.nxnx_f32_softmax.nxnx_f32_softmax_test.nxnx_f32prim_test.nxnx_flashattn_scale.nxnx_pose_distill_gate.nxnx_pose_student_distill.nxnx_tgrad_core.nxnx_tts_formant.nxnx_tts_seq.nxnx_tts_speak.nxnx_tts_word.nxnx_vcodec_neural_entropy_gate.nxnx_vcodec_stdseq_gate.nxnx_zimage_attn_verify.nxnx_zimage_ffn_down_verify.nxnx_zimage_ffn_swiglu_verify.nxnx_zimage_flashattn_verify.nxnx_zimage_sdpa_verify.nxnx_zimage_sdpaonly_verify.nx
structs
| none |
consts
| 48 | const NX_F32_ONE: i64 = 0x3F800000 // 1.0 |
| 49 | const NX_F32_LN2: i64 = 0x3F317218 // ln(2) = 0.6931472 |
| 50 | const NX_F32_INV_LN2: i64 = 0x3FB8AA3B // 1 / ln(2) = 1.4426950 |
| 51 | const NX_F32_INV_2: i64 = 0x3F000000 // 1/2 = 0.5 |
| 52 | const NX_F32_INV_3: i64 = 0x3EAAAAAB // 1/3 = 0.33333334 |
| 53 | const NX_F32_INV_4: i64 = 0x3E800000 // 1/4 = 0.25 |
| 54 | const NX_F32_INV_5: i64 = 0x3E4CCCCD // 1/5 = 0.2 |
| 55 | const NX_F32_INV_6: i64 = 0x3E2AAAAB // 1/6 = 0.16666667 |
| 56 | const NX_F32_OVF_THRESH: i64 = 0x42B0C0A5 // 88.0 approx |
| 57 | const NX_F32_UNF_THRESH: i64 = 0xC2AEAC50 // -87.336 approx |
functions
| 65 | func _f32_to_i32_rne(value: i64) -> i64 called by 2: exp_softnx_f32_exp calls 4: nx_f32_classifynx_f32_signnx_f32_exp_fieldnx_f32_mant_field |
| 105 | func _f32_ldexp(value: i64, k: i64) -> i64 |
| 127 | func nx_f32_exp(x: i64) -> i64 |