Num Double Source # | Note that due to the presence of NaN , not all elements of Double have an
additive inverse. >>> 0/0 + (negate 0/0 :: Double)
NaN
Also note that due to the presence of -0, Double 's Num instance doesn't
have an additive identity >>> 0 + (-0 :: Double)
0.0
Since: 2.1 |
Instance detailsDefined in GHC.Float |
Num Float Source # | Note that due to the presence of NaN , not all elements of Float have an
additive inverse. >>> 0/0 + (negate 0/0 :: Float)
NaN
Also note that due to the presence of -0, Float 's Num instance doesn't
have an additive identity >>> 0 + (-0 :: Float)
0.0
Since: 2.1 |
Instance detailsDefined in GHC.Float |
Num Int Source # | Since: 2.1 |
Instance detailsDefined in GHC.Num |
Num Int8 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Int |
Num Int16 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Int |
Num Int32 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Int |
Num Int64 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Int |
Num Integer Source # | Since: 2.1 |
Instance detailsDefined in GHC.Num |
Num Natural Source # | Note that Natural 's Num instance isn't a ring: no element but 0 has an
additive inverse. It is a semiring though. Since: 4.8.0.0 |
Instance detailsDefined in GHC.Num |
Num Word Source # | Since: 2.1 |
Instance detailsDefined in GHC.Num |
Num Word8 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Word |
Num Word16 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Word |
Num Word32 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Word |
Num Word64 Source # | Since: 2.1 |
Instance detailsDefined in GHC.Word |
Num IntPtr Source # | |
Instance detailsDefined in Foreign.Ptr |
Num WordPtr Source # | |
Instance detailsDefined in Foreign.Ptr |
Num CUIntMax Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CIntMax Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CUIntPtr Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CIntPtr Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CSUSeconds Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CUSeconds Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CTime Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CClock Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CSigAtomic Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CWchar Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CSize Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CPtrdiff Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CDouble Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CFloat Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CBool Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CULLong Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CLLong Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CULong Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CLong Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CUInt Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CInt Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CUShort Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CShort Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CUChar Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CSChar Source # | |
Instance detailsDefined in Foreign.C.Types |
Num CChar Source # | |
Instance detailsDefined in Foreign.C.Types |
Num Fd Source # | |
Instance detailsDefined in System.Posix.Types |
Num CKey Source # | |
Instance detailsDefined in System.Posix.Types |
Num CId Source # | |
Instance detailsDefined in System.Posix.Types |
Num CFsFilCnt Source # | |
Instance detailsDefined in System.Posix.Types |
Num CFsBlkCnt Source # | |
Instance detailsDefined in System.Posix.Types |
Num CClockId Source # | |
Instance detailsDefined in System.Posix.Types |
Num CBlkCnt Source # | |
Instance detailsDefined in System.Posix.Types |
Num CBlkSize Source # | |
Instance detailsDefined in System.Posix.Types |
Num CRLim Source # | |
Instance detailsDefined in System.Posix.Types |
Num CTcflag Source # | |
Instance detailsDefined in System.Posix.Types |
Num CSpeed Source # | |
Instance detailsDefined in System.Posix.Types |
Num CCc Source # | |
Instance detailsDefined in System.Posix.Types |
Num CUid Source # | |
Instance detailsDefined in System.Posix.Types |
Num CNlink Source # | |
Instance detailsDefined in System.Posix.Types |
Num CGid Source # | |
Instance detailsDefined in System.Posix.Types |
Num CSsize Source # | |
Instance detailsDefined in System.Posix.Types |
Num CPid Source # | |
Instance detailsDefined in System.Posix.Types |
Num COff Source # | |
Instance detailsDefined in System.Posix.Types |
Num CMode Source # | |
Instance detailsDefined in System.Posix.Types |
Num CIno Source # | |
Instance detailsDefined in System.Posix.Types |
Num CDev Source # | |
Instance detailsDefined in System.Posix.Types |
Integral a => Num (Ratio a) Source # | Since: 2.0.1 |
Instance detailsDefined in GHC.Real |
Num a => Num (Down a) Source # | Since: 4.11.0.0 |
Instance detailsDefined in Data.Ord |
Num a => Num (Product a) Source # | Since: 4.7.0.0 |
Instance detailsDefined in Data.Semigroup.Internal |
Num a => Num (Sum a) Source # | Since: 4.7.0.0 |
Instance detailsDefined in Data.Semigroup.Internal |
Num a => Num (Identity a) Source # | Since: 4.9.0.0 |
Instance detailsDefined in Data.Functor.Identity |
Num a => Num (Max a) Source # | Since: 4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Num a => Num (Min a) Source # | Since: 4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
HasResolution a => Num (Fixed a) Source # | Since: 2.1 |
Instance detailsDefined in Data.Fixed |
RealFloat a => Num (Complex a) Source # | Since: 2.1 |
Instance detailsDefined in Data.Complex |
Num a => Num (Op a b) Source # | |
Instance detailsDefined in Data.Functor.Contravariant |
Num (f a) => Num (Alt f a) Source # | Since: 4.8.0.0 |
Instance detailsDefined in Data.Semigroup.Internal |
(Applicative f, Num a) => Num (Ap f a) Source # | Since: 4.12.0.0 |
Instance detailsDefined in Data.Monoid |
Num a => Num (Const a b) Source # | Since: 4.9.0.0 |
Instance detailsDefined in Data.Functor.Const |