numeric-prelude-0.1.2: An experimental alternative hierarchy of numeric type classesSource codeContentsIndex

This number type is intended for tests of functions over fields, where the field elements need constant space. This way we can provide a Storable instance. For Rational this would not be possible.

However, be aware that sums of non-zero elements may yield zero. Thus division is not always safe, where it is for rational numbers.

newtype T Source
decons :: Word32
show/hide Instances
appPrec :: IntSource
base :: C a => aSource
lift2 :: (Word64 -> Word64 -> Word64) -> T -> T -> TSource
lift2Integer :: (Int64 -> Int64 -> Int64) -> T -> T -> TSource
Produced by Haddock version 2.4.2