Arbitrary precision - two or three approaches
|
06-07-2022, 11:19 PM
Post: #5
|
|||
|
|||
RE: Arbitrary precision - two or three approaches
I've seen a few arbitrary precision packages over the years. One that sticks in my mind was done in Haskell, sadly I don't remember it's name. The premise was that a number was represented as a sequence and whenever more digits were required, the sequence was extended until the desired digit values could be guaranteed to be correct. Want more digits later, keep extending.
Being Haskell and having lazy evaluation, it essentially built an expression tree for the computation and when more digits were required, potentially all the the nodes in the tree could be extended. Pretty neat idea but very memory intensive. Pauli |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Arbitrary precision - two or three approaches - EdS2 - 06-03-2022, 06:27 AM
RE: Arbitrary precision - two or three approaches - robve - 06-03-2022, 08:06 PM
RE: Arbitrary precision - two or three approaches - Paul Dale - 06-07-2022, 11:12 PM
RE: Arbitrary precision - two or three approaches - Joe Horn - 06-07-2022, 11:08 PM
RE: Arbitrary precision - two or three approaches - EdS2 - 06-08-2022, 07:43 AM
RE: Arbitrary precision - two or three approaches - Paul Dale - 06-07-2022 11:19 PM
RE: Arbitrary precision - two or three approaches - robve - 06-08-2022, 03:57 AM
|
User(s) browsing this thread: 1 Guest(s)