code wiki / (root) / nx_cpp_calc.nx

nx_cpp_calc.nx

buildroot/runtime/nx_cpp_calc.nx

2944 B54 linesdepth 0pulls 0 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

dependencies 0 imports · 1 importers

nx_cpp_calc.nx nx_cpp_calc_test.nx

imports: none

imported by: nx_cpp_calc_test.nx

structs

none

consts

1const K_MAGIC_50000: i64 = 50000

functions

13func nx_cpp_iso(price_cents: i64, yield_pages: i64) -> i64
20func nx_cpp_real_pages(yield_pages: i64, coverage_ppm: i64) -> i64
called by 1: main
29func nx_cpp_real(price_cents: i64, yield_pages: i64, coverage_ppm: i64) -> i64
called by 1: main
39func nx_cpp_savings(genuine_cents: i64, genuine_yield: i64, after_cents: i64, after_yield: i64) -> i64
called by 1: main calls 1: nx_cpp_iso
48func nx_cpp_savings_pct(genuine_cents: i64, genuine_yield: i64, after_cents: i64, after_yield: i64) -> i64
called by 1: main calls 1: nx_cpp_iso