Module logexp  Copy item path  Source  ATANH_LOG2   🔒  bexp64 Computes the binary exponential of logq57.
logq57: a log base 2 in Q57 format.
Returns a 64 bit integer in Q0 (no fraction). bexp32_q10  Polynomial approximation of a binary exponential.
Q10 input, Q0 output. bexp_q24  Binary exponentiation of a log_scale with 24-bit fractional precision and
saturation.
log_scale: A binary logarithm in Q24 format.
Returns the binary exponential in Q24 format, saturated to 2**47 - 1 if
log_scale was too large. blog32 Computes the binary log of n.
n: an unsigned 32-bit integer in Q0 (no fraction).
Returns a signed 32-bit log in Q24. blog64 Computes the binary log of n.
n: a 64-bit integer in Q0 (no fraction).
Returns a 64-bit log in Q57. blog32_q11  Polynomial approximation of a binary logarithm.
Q0 input, Q11 output. q57 Convert an integer into a Q57 fixed-point fraction. q24_to_q57   Converts a Q24 fixed-point fraction to Q57. q57_to_q24   Converts a Q57 fixed-point fraction to Q24 by rounding.