| abs | Returns the absolute value of a fixed-point number…. |
| add | Adds two fixed-point numbers. |
| ceil | Rounds up to the nearest integer (toward positive infinity)…. |
| div | Divides two fixed-point numbers…. |
| eq | Checks equality of two fixed-point numbers. |
| exp | Calculates the natural exponential: e^x… |
| exp2 | Calculates the binary exponential: 2^x Supports both positive and negative exponents…. |
| exp2_int | Fast 2^x for integer exponents. Uses a lookup table for O(1) computation…. |
| floor | Rounds down to the nearest integer (toward negative infinity)…. |
| ge | — |
| gt | — |
| le | — |
| ln | Calculates the natural logarithm: ln(x)… |
| log2 | Calculates the base-2 logarithm: log₂(x)… |
| log10 | Calculates the base-10 logarithm: log₁₀(x)… |
| lt | — |
| mul | Multiplies two fixed-point numbers. |
| mul_64 | — |
| ne | — |
| neg | — |
| pow | Calculates x^y (power function). Automatically uses a faster algorithm for integer exponents…. |
| pow_int | — |
| rem | — |
| round | Rounds to the nearest integer (half up)…. |
| sqrt | Calculates the square root…. |
| cbrt | Calculates the cube root. Preserves sign: cbrt(-8) = -2 Useful for 3-asset AMM pool calculations (geometric mean of 3 values)…. |
| sub | — |
| _split_unsigned | — |