HasBigDecimal-0.2.0.0: A library for arbitrary precision decimal numbers.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.BigFloating

Synopsis

Documentation

piChudnovsky :: RoundingAdvice -> BigDecimal Source #

Compute pi using rounding mode and scale of the specified RoundingAdvice Sources: https://wiki.haskell.org/Integers_too_big_for_floats & https://github.com/eobermuhlner/big-math

sqr :: BigDecimal -> RoundingAdvice -> BigDecimal Source #

computes the square root of any non-negative BigDecimal, rounding and precision defined by RoundingAdvice. We are using Newton's algorithm.

Orphan instances