Portability | portable |
---|---|
Stability | stable |
Maintainer | claudiusmaximus@goto10.org |
Safe Haskell | Safe-Infered |
Boilerplate definitions generated by:
flip mapM_ [1..53] $ \p -> let s = show p in putStrLn $ "type F" ++ s ++ " = VFloat N" ++ s ++ " ; f" ++ s ++ " :: F" ++ s ++ " ; f" ++ s ++ " = 0"
Along with aliases for recodeFloat
with specialized types.
- toFloat :: F24 -> Float
- fromFloat :: Float -> F24
- toDouble :: F53 -> Double
- fromDouble :: Double -> F53
- type F1 = VFloat N1
- f1 :: F1
- type F2 = VFloat N2
- f2 :: F2
- type F3 = VFloat N3
- f3 :: F3
- type F4 = VFloat N4
- f4 :: F4
- type F5 = VFloat N5
- f5 :: F5
- type F6 = VFloat N6
- f6 :: F6
- type F7 = VFloat N7
- f7 :: F7
- type F8 = VFloat N8
- f8 :: F8
- type F9 = VFloat N9
- f9 :: F9
- type F10 = VFloat N10
- f10 :: F10
- type F11 = VFloat N11
- f11 :: F11
- type F12 = VFloat N12
- f12 :: F12
- type F13 = VFloat N13
- f13 :: F13
- type F14 = VFloat N14
- f14 :: F14
- type F15 = VFloat N15
- f15 :: F15
- type F16 = VFloat N16
- f16 :: F16
- type F17 = VFloat N17
- f17 :: F17
- type F18 = VFloat N18
- f18 :: F18
- type F19 = VFloat N19
- f19 :: F19
- type F20 = VFloat N20
- f20 :: F20
- type F21 = VFloat N21
- f21 :: F21
- type F22 = VFloat N22
- f22 :: F22
- type F23 = VFloat N23
- f23 :: F23
- type F24 = VFloat N24
- f24 :: F24
- type F25 = VFloat N25
- f25 :: F25
- type F26 = VFloat N26
- f26 :: F26
- type F27 = VFloat N27
- f27 :: F27
- type F28 = VFloat N28
- f28 :: F28
- type F29 = VFloat N29
- f29 :: F29
- type F30 = VFloat N30
- f30 :: F30
- type F31 = VFloat N31
- f31 :: F31
- type F32 = VFloat N32
- f32 :: F32
- type F33 = VFloat N33
- f33 :: F33
- type F34 = VFloat N34
- f34 :: F34
- type F35 = VFloat N35
- f35 :: F35
- type F36 = VFloat N36
- f36 :: F36
- type F37 = VFloat N37
- f37 :: F37
- type F38 = VFloat N38
- f38 :: F38
- type F39 = VFloat N39
- f39 :: F39
- type F40 = VFloat N40
- f40 :: F40
- type F41 = VFloat N41
- f41 :: F41
- type F42 = VFloat N42
- f42 :: F42
- type F43 = VFloat N43
- f43 :: F43
- type F44 = VFloat N44
- f44 :: F44
- type F45 = VFloat N45
- f45 :: F45
- type F46 = VFloat N46
- f46 :: F46
- type F47 = VFloat N47
- f47 :: F47
- type F48 = VFloat N48
- f48 :: F48
- type F49 = VFloat N49
- f49 :: F49
- type F50 = VFloat N50
- f50 :: F50
- type F51 = VFloat N51
- f51 :: F51
- type F52 = VFloat N52
- f52 :: F52
- type F53 = VFloat N53
- f53 :: F53
Documentation
fromDouble :: Double -> F53Source
Convert from a Double to the same precision.