exact-pi

Exact rational multiples of pi (and integer powers of pi)

https://github.com/dmcclean/exact-pi/

Version on this page:0.5.0.1@rev:2
LTS Haskell 22.14:0.5.0.2
Stackage Nightly 2024-03-28:0.5.0.2
Latest on Hackage:0.5.0.2

See all snapshots exact-pi appears in

MIT licensed by Douglas McClean
Maintained by [email protected]
This version can be pinned in stack with:exact-pi-0.5.0.1@sha256:0a373a5c01b758f29b0bb105a17d7bddb9ce1cbbf14f0f91602836cb32e0e985,2118

Module documentation for 0.5.0.1

Depends on 2 packages(full list with versions):
Used by 2 packages in lts-19.0(full list with versions):

exact-pi

Exact rational multiples of pi (and integer powers of pi) in Haskell

Build Status Hackage Version Stackage version

Changes

0.5.0.1

  • Bump base dependency.
  • Resolve compiler warnings.

0.5.0.0

  • Change implementation of ‘rationalApproximations’ to use Chudnovsky’s approximations.

0.4.1.4

  • Comply with NoStarIsType pragma.

0.4.1.3

  • Add Semigroup ExactPi instance.

0.4.1.2

  • Bump base dependency.

0.4.1.1

  • Fixed infinite loop in definition of negate.

0.4.1.0

  • Added function for computing rational approximations of ExactPi values.

0.4.0.0

  • Added simpler constraints for converting ExactPi types to terms with the minimal context.

0.3.1.0

  • Added support for exactly comparing values.

0.3.0.0

  • Added a type-level representation of ExactPi values.

0.2.1.2

  • Fixed a bug in recip.
  • Fixed approximation of exact values with a negative exponent for pi.

0.2.1.1

  • Fixed a missing case in isZero.

0.2.1.0

  • Added support for converting to exact integers or exact rationals.

0.2.0.0

  • Removed dependency on groups package, since it appears not to be widely used.
  • Fixed a missing case alternative in recip.

0.1.2.0

  • Added support for GHC 7.8.