numeric-extras-0.1: Useful tools from the C standard library

Safe HaskellTrustworthy
LanguageHaskell98

Numeric.Extras

Documentation

class (Storable (C a), RealFloat (C a), RealFloat a) => RealExtras a where Source #

Minimal complete definition

fmod, expm1, log1p, hypot, cbrt, erf, floor, ceil, trunc, modf, remainder

Associated Types

type C a :: * Source #

Methods

fmod :: a -> a -> a Source #

expm1 :: a -> a Source #

log1p :: a -> a Source #

hypot :: a -> a -> a Source #

cbrt :: a -> a Source #

erf :: a -> a Source #

floor :: a -> a Source #

ceil :: a -> a Source #

trunc :: a -> a Source #

modf :: a -> (a, a) Source #

remainder :: a -> a -> a Source #