ireal-0.1: Real numbers and intervals with not so inefficient exact arithmetic.

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Number.IReal.Auxiliary

Synopsis

Documentation

lg2 :: Integer -> Int Source

Base 2 logarithm of argument, rounded downwards.

dec2bits :: Int -> Int Source

Converts precisions from decimal to binary.

atDecimals :: (Int -> a) -> Int -> a infix 1 Source

Operator allowing function expecting binary precision to be applied to decimal ditto.