1. dafis
  2. arithmoi

Commits

dafis  committed 4562815

Remove SPECIALISE pragma from inline function, raised a warning in 7.5, should not be needed/useful anyway

  • Participants
  • Parent commits ee4704c
  • Branches default

Comments (0)

Files changed (1)

File Math/NumberTheory/GCD.hs

View file
  • Ignore whitespace
 -- Auxiliaries
 
 -- gcd of two odd numbers
-{-# SPECIALISE gcdOdd :: Integer -> Integer -> Integer #-}
-#if WORD_SIZE_IN_BITS < 64
-{-# SPECIALISE gcdOdd :: Int64 -> Int64 -> Int64,
-                         Word64 -> Word64 -> Word64
-  #-}
-#endif
 {-# INLINE gcdOdd #-}
 gcdOdd :: (Integral a, Bits a) => a -> a -> a
 gcdOdd a b