Math - Utility Math functions for
The this library is designed to give good precision, typically giving 9 correct decimal places.
The numerical algorithms run with many iterations to achieve that precision and are interpreted
by the Daml runtime so they are not performant. Their use is not advised in performance critical
: Decimal -> Decimal -> Decimal
The logarithm of a number to a given base. Example:
log 10.0 100.0 == 2.0