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
pbAPM - Arbitrary Precision Math Lib
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
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.
it's freely distributable, and it would be interesting to have the library available for PB.

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