[commit: base] master: Import GMP-only functions from a GMP modules (47d0d8c)
Ian Lynagh
igloo at earth.li
Tue Sep 13 22:22:32 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/47d0d8c2b72865c965633c104dcd2e9cc89e23fa
>---------------------------------------------------------------
commit 47d0d8c2b72865c965633c104dcd2e9cc89e23fa
Author: Ian Lynagh <igloo at earth.li>
Date: Tue Sep 13 20:19:35 2011 +0100
Import GMP-only functions from a GMP modules
>---------------------------------------------------------------
GHC/Real.lhs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/GHC/Real.lhs b/GHC/Real.lhs
index 50fde96..2aa54c6 100644
--- a/GHC/Real.lhs
+++ b/GHC/Real.lhs
@@ -27,6 +27,10 @@ import GHC.Enum
import GHC.Show
import GHC.Err
+#ifdef OPTIMISE_INTEGER_GCD_LCM
+import GHC.Integer.GMP.Internals
+#endif
+
infixr 8 ^, ^^
infixl 7 /, `quot`, `rem`, `div`, `mod`
infixl 7 %
More information about the Cvs-libraries
mailing list