fast-arithmetic-0.3.2.6: Fast functions on integers.
Numeric.Integer
Description
This module provides a fast primality check.
Synopsis
isPrime :: Int -> Bool Source #
O(√n)
fibonacci :: Int -> IO Integer Source #
Indexed starting at 0.
0