Page 1 of 1
pbAPM - Arbitrary Precision Math Lib
Posted: Sun Nov 02, 2003 6:45 pm
by freedimension
Here is an arbitrary precision math userlib.
http://www.pan-galactic-gargle-blaster.de/pbAPM.zip (ca. 60k)
With this lib you can calculate nearly everything, Pi for example is contained as a 512 digits constant.
Nearly every arithmetical, trigonometric etc. function is available.
Who said you can't do scientific work with PureBasic???
greets
freedimension
Posted: Sun Nov 02, 2003 7:48 pm
by jack
cool!

Posted: Sun Nov 02, 2003 8:47 pm
by dmoc
Site does not seem to exist.
Posted: Sun Nov 02, 2003 8:57 pm
by jack
have you looked at the cephes or qlib library?
http://www.moshier.net/#Cephes
it's freely distributable, and it would be interesting to have the library available for PB.

Posted: Mon Nov 03, 2003 1:32 am
by freedimension
dmoc wrote:Site does not seem to exist.
It's not a site, it's a download...
*testing*
... , and one that exists, that's for sure. Try again. If you've still problems I could mail you a copy.
Posted: Mon Nov 03, 2003 1:39 am
by freedimension
jack wrote:have you looked at the cephes or qlib library?
http://www.moshier.net/#Cephes
it's freely distributable, and it would be interesting to have the library available for PB.

What's so special about it? Long doubles (128k)? Can do, but without this lib, IMHO LCC supports this already. Complex numbers? Too complex for me, I only make Libs that I'm in need of for myself.
Posted: Mon Nov 03, 2003 3:13 am
by einander
Freedimension: thanks for sharing this userlib.
Very helpful!

Posted: Tue Nov 04, 2003 10:53 am
by freedimension
Here is the new Version 0.6
http://www.pan-galactic-gargle-blaster.de/pbAPM.zip
The functions are now mostly threadsafe, so you can calculate in the background without stalling the GUI.