diff --git a/LICENSE b/LICENSE index edf0075..08580bf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015 Joe Hermaszewski +Copyright (c) 2015 Ellie Hermaszewska Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/changelog.md b/changelog.md index 8c7ceb6..8e41781 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,7 @@ # Change Log ## WIP +- Correct author name ## [0.12.5] - 2021-05-29 - Tweak test suite to fix #35 diff --git a/exact-real.cabal b/exact-real.cabal index c88e762..2389710 100644 --- a/exact-real.cabal +++ b/exact-real.cabal @@ -1,6 +1,6 @@ cabal-version: 1.24 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.34.5. -- -- see: https://github.com/sol/hpack @@ -11,9 +11,9 @@ description: A type to represent exact real numbers using fast binary Cauchy category: Math homepage: https://github.com/expipiplus1/exact-real#readme bug-reports: https://github.com/expipiplus1/exact-real/issues -author: Joe Hermaszewski -maintainer: Joe Hermaszewski -copyright: 2020 Joe Hermaszewski +author: Ellie Hermaszewska +maintainer: Ellie Hermaszewska +copyright: 2020 Ellie Hermaszewska license: MIT license-file: LICENSE build-type: Custom diff --git a/package.yaml b/package.yaml index cfc8fd4..fefe31c 100644 --- a/package.yaml +++ b/package.yaml @@ -3,9 +3,9 @@ version: "0.12.5" synopsis: Exact real arithmetic description: A type to represent exact real numbers using fast binary Cauchy sequences. category: Math -author: Joe Hermaszewski -maintainer: Joe Hermaszewski -copyright: 2020 Joe Hermaszewski +author: Ellie Hermaszewska +maintainer: Ellie Hermaszewska +copyright: 2020 Ellie Hermaszewska github: expipiplus1/exact-real extra-source-files: - readme.md diff --git a/readme.md b/readme.md index 8e98fa2..0cf3aba 100644 --- a/readme.md +++ b/readme.md @@ -26,6 +26,18 @@ examples in this readme. 0 :+ 0 ``` +Or: + +```haskell +λ> let f :: ∀ a. Fractional a => (a, a); f = iterate (\(x0, x1) -> let x2 = 111 - (1130-3000/x0) / x1 in (x1, x2)) (11/2, 61/11) !! 100 +λ> f @Double +(100.0,100.0) +λ> f @(CReal 10) +(6.0000,6.0000) +λ> f @(CReal 50) +(5.9999999879253263,5.9999999899377725) +``` + Implementation -------------- @@ -73,8 +85,4 @@ Contributing Contributions and bug reports are welcome! -Please feel free to contact me on GitHub or as "jophish" on freenode. - --Joe - [goldberg]: http://www.validlab.com/goldberg/paper.pdf "What Every Computer Scientist Should Know About Floating-Point Arithmetic"