summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Integer.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/Integer.hs')
-rw-r--r--libraries/base/GHC/Integer.hs9
1 files changed, 1 insertions, 8 deletions
diff --git a/libraries/base/GHC/Integer.hs b/libraries/base/GHC/Integer.hs
index 598fe33c6d..070bd8fb61 100644
--- a/libraries/base/GHC/Integer.hs
+++ b/libraries/base/GHC/Integer.hs
@@ -23,8 +23,7 @@ module GHC.Integer (
#endif
-- * Helpers for 'RealFloat' type-class operations
- encodeFloatInteger, floatFromInteger,
- encodeDoubleInteger, decodeDoubleInteger, doubleFromInteger,
+ encodeFloatInteger, encodeDoubleInteger, decodeDoubleInteger,
-- * Arithmetic operations
plusInteger, minusInteger, timesInteger, negateInteger,
@@ -95,15 +94,9 @@ integerToInt64 = I.integerToInt64#
encodeFloatInteger :: Integer -> Int# -> Float#
encodeFloatInteger = I.integerEncodeFloat#
-floatFromInteger :: Integer -> Float#
-floatFromInteger = I.integerToFloat#
-
encodeDoubleInteger :: Integer -> Int# -> Double#
encodeDoubleInteger = I.integerEncodeDouble#
-doubleFromInteger :: Integer -> Double#
-doubleFromInteger = I.integerToDouble#
-
decodeDoubleInteger :: Double# -> (# Integer, Int# #)
decodeDoubleInteger = I.integerDecodeDouble#