base library

Support for evaluating

Classes

ComputeContext
DefaultComputeContext
Rational
A number that can be expressed as a fraction of two integers, a numerator and a non-zero denominator.
Result

Extensions

BigIntExt on BigInt
Extensions on BigInt.
IntExt on int
Extensions on int.
RationalExt on Rational
A small snippet of code made to know if a rational has a finite precision.

Functions

compute(String input, {ComputeContext context = const DefaultComputeContext()}) Result
Takes an input expression and returns its result.

Exceptions / Errors

ComputationError