Copyright | (c) Michal Konecny |
---|---|
License | BSD3 |
Maintainer | mikkonecny@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
class HasNorm a where Source #
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
.
Instances
HasNorm MPBall Source # | |
Defined in AERN2.MP.Ball.Type getNormLog :: MPBall -> NormLog Source # | |
HasNorm Dyadic Source # | |
Defined in AERN2.MP.Dyadic getNormLog :: Dyadic -> NormLog Source # | |
HasNorm MPFloat Source # | |
Defined in AERN2.MP.Float.Type getNormLog :: MPFloat -> NormLog Source # | |
HasNorm Rational Source # | |
Defined in AERN2.Norm getNormLog :: Rational -> NormLog Source # | |
HasNorm Integer Source # | |
Defined in AERN2.Norm getNormLog :: Integer -> NormLog Source # | |
HasNorm Int Source # | |
Defined in AERN2.Norm getNormLog :: Int -> NormLog Source # | |
HasNorm t => HasNorm (Complex t) Source # | |
Defined in AERN2.Norm getNormLog :: Complex t -> NormLog Source # |
Instances
invertNormLog :: NormLog -> NormLog Source #