Post Reply 
Extended precision library
05-25-2019, 10:27 AM
Post: #1
Extended precision library
This is a library of functions to allow unlimited floating point precision for all arithmetic and most transcendental functions on the Prime.

Explanations can be found (in French...) in the 11th issue of the french journal "La Gazette des Pocketicaires" available for free download at :
http://silicium.org/site/index.php/telec...keticaires.

Very shortly, all function names start with the letter x.
To start type xinit(7) for example where 7 is the number of slices of 6 digits that you want to have available.
Here 7 means you calculate on 42 digits.
Values are stored as lists.
To convert from/to the readable representation which is a string, you use two functions.
Example :
xtof("1256.23589") returns a list
xtostr(that list) gives you back the string "1256.23589".

Then you can use the lists created this way to calculate, see the examples in the test file attached.

Feedback welcome.


Attached File(s)
.hpprgm  multiprecision.hpprgm (Size: 14.1 KB / Downloads: 38)
.hpprgm  multiprecision2.hpprgm (Size: 10.46 KB / Downloads: 30)
.hpprgm  testmulti.hpprgm (Size: 8.38 KB / Downloads: 35)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Extended precision library - G.E. - 05-25-2019 10:27 AM
RE: Extended precision library - G.E. - 05-26-2019, 04:18 PM
RE: Extended precision library - erazor - 04-08-2021, 07:03 AM
RE: Extended precision library - robmio - 08-22-2021, 08:38 PM



User(s) browsing this thread: 1 Guest(s)