@ligo/math-lib

A math library for LIGO with support for Float & Rational numbers

Built by ligoLANG <https://ligolang.org/>License MIT0 download

Installation

ligo install @ligo/math-lib  

Readme

math-lib-cameligo

This repository contains a math library for LIGO. It is provided in two flavors (Float & Rational), and the project is structured as follows

  1. core: This contains basic math functions like isqrt, power, factorial, min, max, log_10.
  2. float: This provides floating point arithmetic for LIGO (which is not supported natively by Michelson). It also provides some useful trigonometric functions.
  3. rational: This provides rational arithmetic for LIGO (which is not supported natively by Michelson). It also provides some useful trigonometric functions.

Enquired audits

fetching audit