Radix Magnitude #
The magnitude of a nonzero real $x$ is the unique integer $e$ for which $\beta^{e-1}\le|x|<\beta^e$. These bounds are the basic bridge between logarithmic magnitude, canonical exponents, and generic-format rounding.
The logarithmic definition of neuralMagnitude satisfies the standard Flocq magnitude bounds.
Lower magnitude bound for a nonzero real.
Strict upper magnitude bound for a nonzero real.
The magnitude of $\beta^e$ is $e+1$.
Radix powers preserve and reflect exponent order.
Radix powers preserve and reflect strict exponent order.
Radix-power bounds uniquely determine magnitude.
Any strict radix-power upper bound is also an upper bound on magnitude.
Magnitude is monotone on positive real inputs.
Magnitude is monotone with respect to absolute value.
A monotone exponent format preserves absolute-value order at canonical exponents.
The magnitude of a nonzero product is at most the sum of operand magnitudes.
Multiplication by a radix power shifts magnitude by its exponent.
A radix power with nonnegative exponent is the cast of a natural number.