ops
Core Mathematical Operations (f64)
Basic arithmetic and mathematical functions for 32.32 fixed-point numbers. These are the gas-optimized versions using 64-bit arithmetic.
Arithmetic
abs- Absolute valueadd- Additiondiv- Divisionmul- Multiplication (via operator overloading)neg- Negationsub- Subtraction
Rounding
ceil- Round upfloor- Round downround- Round to nearest
Exponential & Logarithmic
exp- Natural exponential (e^x)exp2- Binary exponential (2^x)ln- Natural logarithmlog2- Binary logarithmlog10- Common logarithmpow- Power function
Roots
sqrt- Square root
Fully qualified path: cairo_fp::f64::math::ops