| |||||||||||||
| |||||||||||||
Synopsis | |||||||||||||
| |||||||||||||
Documentation | |||||||||||||
gcd :: (HasIntegerDivide i a, HasZero a, HasAbsolute a a, MaybeOrdered a) => [a] -> a | |||||||||||||
lcm :: [Integer] -> Integer | |||||||||||||
integerBinaryChop :: (Integer -> Ordering) -> (Integer, Integer) -> Maybe Integer | |||||||||||||
integerBitSize :: Integer -> Maybe Integer | |||||||||||||
integerSqrt :: Integer -> Maybe Integer | |||||||||||||
rationalSqrt :: Rational -> Maybe Rational | |||||||||||||
simplestRational :: (Eq i, IsA Rational i, MaybeHasIntegerDivide i aa a, MaybeReciprocatable a, MaybeA Rational a, Eq a) => a -> a -> Maybe Rational | |||||||||||||
adapted from code in SLib | |||||||||||||
Produced by Haddock version 0.6 |