Big Number Calculator | Curvegrid (original) (raw)
Exact integer and decimal math with web3-ready outputs.
Results
| Result | - |
|---|---|
| Exact fraction | - |
| Shifted (10^shift) | - |
| Hex (shifted) | - |
| Fit (shifted) | - |
Fit and hex outputs use the shifted value.
Settings
Max decimals (division & sqrt)
Decimal shift (base 10)
Number style
Group output digits
Fit type
Hex output
Show hex
Show fit size
Functions
- sqrt(x) — square root (perfect squares exact; otherwise rounded by max decimals).
- abs(x) — absolute value.
- min(a, b) — smaller of two values.
- max(a, b) — larger of two values.
- floor(x) — round down to integer.
- ceil(x) — round up to integer.
- round(x, n) — round to n decimal places.
- mod(a, b) — modulo (integers only).
- pow10(n) — 10^n (integer exponent).
- pow2(n) — 2^n (integer exponent).
- clamp(x, lo, hi) — clamp to bounds.
- gcd(a, b) — greatest common divisor (integers only).
- lcm(a, b) — least common multiple (integers only).