aern2-mp-0.1.2.0: Multi-precision floats via MPFR

Copyright(c) Michal Konecny
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

AERN2.Norm

Description

 

Documentation

class HasNorm a where Source #

Minimal complete definition

getNormLog

Methods

getNormLog :: a -> NormLog Source #

For a value x, return NormBits j where j is close to the smallest i with |x| <= 2^i. If x == 0 then return NormZero.

data NormLog Source #

Constructors

NormZero

ie NormBits (-infinity)

NormBits Integer 

Instances

Eq NormLog Source # 

Methods

(==) :: NormLog -> NormLog -> Bool #

(/=) :: NormLog -> NormLog -> Bool #

Ord NormLog Source # 
Show NormLog Source # 
CanMinMaxAsymmetric NormLog NormLog Source # 
HasOrderAsymmetric NormLog NormLog Source # 
HasEqAsymmetric NormLog NormLog Source # 
ConvertibleExactly NormLog Accuracy # 
type MinMaxType NormLog NormLog Source # 
type OrderCompareType NormLog NormLog Source # 
type EqCompareType NormLog NormLog Source #