Crate precise_calc

source ·
Expand description

This is a crate for parsing and evaluating math expressions.

Modules

  • Contains all the enums used to represent the AST.
  • Contains the Context struct used to store functions and values currently defined.
  • Contains the functions used to evaluate an AST.
  • Contains functions used to format a [BigFloat] to a string.
  • Contains functions used to parse strings into an AST.

Enums

  • The error type returned when functions in this crate go wrong.

Constants

  • The precision of floating point numbers when converted to base 10. Calculated by log(2^PREC).
  • Precision of floating point numbers
  • The rounding mode of floating point numbers.

Type Definitions