CRlibm.setupFunction
setup(use_MPFR=false)

Define correctly-rounded standard mathematical functions. (See CRlibm.functions for a list.)

The functions are not exported. Use e.g. CRlibm.sin(0.5, RoundDown).

Options:

  • use_MPFR: if true, the Float64 functions just wrap corresponding MPFR functionality (BigFloat).
CRlibm.wrap_MPFRMethod

Define convenience functions like sin(x, RoundDown) for x::BigFloat