trunc39
Trunc39 is a hypothetical truncation operator used in discussions of non-standard numeral bases. It truncates a real number to a fixed precision in base 39 by discarding digits beyond a specified position. The name reflects the idea of truncation to a fixed base, rather than rounding.
Formally, for a nonnegative integer p, the operator is defined by trunc39_p(x) = floor(x · 39^p) / 39^p when
Example: let x = 1.2345 and p = 2. Since 39^2 = 1521, trunc39_2(1.2345) = floor(1.2345 · 1521) / 1521 = floor(1877.6745) /
Applications of the concept are primarily theoretical or specialized. Trunc39 can be used in simulations of