pbAPM - Arbitrary Precision Math Lib

Developed or developing a new product in PureBasic? Tell the world about it.
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

pbAPM - Arbitrary Precision Math Lib

Post 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
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Post by jack »

cool! :D
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

Post by dmoc »

Site does not seem to exist.
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Post 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. :mrgreen:
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post 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.
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post 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. :mrgreen:
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.
User avatar
einander
Enthusiast
Enthusiast
Posts: 744
Joined: Thu Jun 26, 2003 2:09 am
Location: Spain (Galicia)

Post by einander »

Freedimension: thanks for sharing this userlib.
Very helpful! :D
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post 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.
Post Reply