numeric-prelude-0.4.3.1: An experimental alternative hierarchy of numeric type classes

Safe HaskellNone
LanguageHaskell98

Algebra.FloatingPoint

Synopsis
  • class C a => C a where

    Documentation

    class C a => C a where Source #

    Counterpart of RealFloat but with NumericPrelude superclass.

    Instances
    C Double Source # 
    Instance details

    Defined in Algebra.FloatingPoint

    C Float Source # 
    Instance details

    Defined in Algebra.FloatingPoint

    RealFloat a => C (T a) Source # 
    Instance details

    Defined in MathObj.Wrapper.Haskell98

    Methods

    radix :: T a -> Integer Source #

    digits :: T a -> Int Source #

    range :: T a -> (Int, Int) Source #

    decode :: T a -> (Integer, Int) Source #

    encode :: Integer -> Int -> T a Source #

    exponent :: T a -> Int Source #

    significand :: T a -> T a Source #

    scale :: Int -> T a -> T a Source #

    isNaN :: T a -> Bool Source #

    isInfinite :: T a -> Bool Source #

    isDenormalized :: T a -> Bool Source #

    isNegativeZero :: T a -> Bool Source #

    isIEEE :: T a -> Bool Source #

    C a => C (T a) Source # 
    Instance details

    Defined in MathObj.Wrapper.NumericPrelude

    Methods

    radix :: T a -> Integer Source #

    digits :: T a -> Int Source #

    range :: T a -> (Int, Int) Source #

    decode :: T a -> (Integer, Int) Source #

    encode :: Integer -> Int -> T a Source #

    exponent :: T a -> Int Source #

    significand :: T a -> T a Source #

    scale :: Int -> T a -> T a Source #

    isNaN :: T a -> Bool Source #

    isInfinite :: T a -> Bool Source #

    isDenormalized :: T a -> Bool Source #

    isNegativeZero :: T a -> Bool Source #

    isIEEE :: T a -> Bool Source #