nx_cpp_calc.nx
buildroot/runtime/nx_cpp_calc.nx
about
nx_cpp_calc.nx -- Calculates honest cost-per-page using real coverage measurements and ISO-standardized yields.
dependencies 0 imports · 1 importers
imports: none
imported by: nx_cpp_calc_test.nx
structs
| none |
consts
| 2 | const K_MAGIC_50000: i64 = 50000 |
functions
| 14 | func nx_cpp_iso(price_cents: i64, yield_pages: i64) -> i64 |
| 21 | func nx_cpp_real_pages(yield_pages: i64, coverage_ppm: i64) -> i64 called by 1: main |
| 30 | func nx_cpp_real(price_cents: i64, yield_pages: i64, coverage_ppm: i64) -> i64 called by 1: main |
| 40 | func nx_cpp_savings(genuine_cents: i64, genuine_yield: i64, after_cents: i64, after_yield: i64) -> i64 |
| 49 | func nx_cpp_savings_pct(genuine_cents: i64, genuine_yield: i64, after_cents: i64, after_yield: i64) -> i64 |