fast-arithmetic-0.1.1.1: Fast number-theoretic functions.

CopyrightCopyright (c) 2017 Vanessa McHale
Safe HaskellNone
LanguageHaskell2010

Numeric.Integer

Description

 

Synopsis

Documentation

isPrime :: Int -> Bool Source #

O(√n)