pallas/pallas-math
Renovate Bot 01762a7bdf
Some checks failed
Validate / Check-1 (push) Failing after 1s
Validate / Test Suite-1 (push) Failing after 1s
Validate / Lints (push) Failing after 1s
Validate / Check (push) Has been cancelled
Validate / Check-2 (push) Has been cancelled
Validate / Test Suite (push) Has been cancelled
Validate / Test Suite-2 (push) Has been cancelled
chore(deps): update rust crate rand to 0.8.6 [security]
2026-06-29 06:24:44 +00:00
..
src chore: apply new lint warnings from latest clippy (#561) 2024-12-14 17:37:33 -03:00
tests/data feat(math): add support for some math functions (#483) 2024-08-01 19:35:18 -03:00
Cargo.toml chore(deps): update rust crate rand to 0.8.6 [security] 2026-06-29 06:24:44 +00:00
README.md chore(math): initialize pallas-math crate (#474) 2024-06-29 17:43:06 -03:00

Pallas Math

Crate with all the mathematics functions to support Cardano protocol:

  • [] lncf - Approximate ln(1+x) for x in 0..infinty.
  • [] cf - Compute continued fraction using max steps or bounded list of a/b factors.
  • [] bound - Simple way to find integer powers that bound x.
  • [] contract - Bisect bounds to find the smallest integer power such that factor^n<=x<factor^(n+1).
  • [] find_e - find n with e^n<=x<e^(n+1).
  • [] ln - Compute natural logarithm via continued fraction, first splitting integral part and then using continued fractions approximation for ln(1+x).
  • [] taylor_exp - Compute exp(x) using Taylor expansion.
  • [] taylor_exp_cmp - Efficient way to compare the result of the Taylor expansion of the exponential function to a threshold value.
  • ...
  • ...