pbAPM v.0.7 available

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 v.0.7 available

Post by freedimension »

The new version of my arbitrary precision math library is now online.

http://www.pan-galactic-gargle-blaster.de/pbAPM.zip

New features include:
- support for infinite numbers and NaN's
- portability from F64-Lib
- some new functions

As the Infinity and NaN issue meant a massive rewriting of almost all codelines written before, I'm not quite sure whether there are still mayor bugs or not.
I would appreciate if someone else would test all the functions with extreme values (0, Infinity, Pi, Pi/2 and so on).

greets
freedimension
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

Bugfix 0.71 - Same Link

APM_toInt and APM_toFloat had to be fixed
Fiwip
User
User
Posts: 27
Joined: Tue Feb 24, 2004 2:42 pm

Post by Fiwip »

Newcomer, I was about reading all the posts coming after searching the whole forum with "number* + precision*" when I found on your code.

Many many thanks for this.

I read you asked for somebody to test it, as your post is far from now, did you get something from all PB's asking for a tool like yours ? (before - if I understood well - getting something directly implemented by Fred inside PB: BTW I did not see anything recent on this subject. Do you know what we can expect and when ?)

As there are 2 posts from you around the same date (nov/03), I would like to be sure pbAPM replace definitly F64.

On a second hand, pbAPM install files in many folders of PB. I wanted to know the difference with F64 ? Is that a garantee for more stability and speed ?

I will be back to you because I am wondering if you can implement some new functions relatives to statistics and probabilities. Right now I think about the Gauss function.

Anyhow thanks again for this,

Fiwip
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: pbAPM v.0.7 available

Post by NoahPhense »

freedimension wrote:The new version of my arbitrary precision math library is now online.

http://www.pan-galactic-gargle-blaster.de/pbAPM.zip

New features include:
- support for infinite numbers and NaN's
- portability from F64-Lib
- some new functions

As the Infinity and NaN issue meant a massive rewriting of almost all codelines written before, I'm not quite sure whether there are still mayor bugs or not.
I would appreciate if someone else would test all the functions with extreme values (0, Infinity, Pi, Pi/2 and so on).

greets
freedimension
thanks fd, once my site is functional, i'll shoot up some of my libs..

- np
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: pbAPM v.0.7 available

Post by NoahPhense »

Hey,

I know how to make some sweet chm's.. but could you teach me how
you are linking the chm to 'your' keyword F1 press from inside the PB
environment?

- np
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

The URL mentioned above is no longer active. Get a Copy at http://www.purearea.net


The thing with the linking to the F1 functionality is easy: Just keep all your .html files in the root directory of your chm-project. Don't make subfolders like /commands
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

freedimension wrote:The URL mentioned above is no longer active. Get a Copy at http://www.purearea.net


The thing with the linking to the F1 functionality is easy: Just keep all your .html files in the root directory of your chm-project. Don't make subfolders like /commands
So how does PB know to open that CHM, and go to THAT particular command?

i.e. when I click APM_StrFixpt, it opens the help file, and brings me right
to APM_StrFixpt ..

- np
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

You have to assign the right *.chm file in your *.desc file, as described in the readmes of the sdk.
Then every command has to have its own *.html file, called like the command (ex.: apm_abs.html) that is placed in the root directory (i.e. the same directory the *.hhp file is in). That's IMO all.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

freedimension wrote:You have to assign the right *.chm file in your *.desc file, as described in the readmes of the sdk.
Then every command has to have its own *.html file, called like the command (ex.: apm_abs.html) that is placed in the root directory (i.e. the same directory the *.hhp file is in). That's IMO all.
Hmm, I've been using TailBite to create my libs.. I guess I could use the
option, "dont create lib, just create sources".. and modify the desc file?

- np

Could you be so kind as to post a sample of your desc.. I learn great
by example.
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

Code: Select all

;
; Langage used to code the library: ASM or C
C
;
; Number of windows DLL than the library need
0
; Library type (Can be OBJ or LIB)
;
LIB
;
; Number of PureBasic library needed by the library
0
; Help directory name
;
pbAPM.chm
;
; Library functions (FunctionName, Arg1, Arg2, ...)
;

APM_Init
InitFunction

... and so on
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

freedimension wrote:

Code: Select all

;
; Langage used to code the library: ASM or C
C
;
; Number of windows DLL than the library need
0
; Library type (Can be OBJ or LIB)
;
LIB
;
; Number of PureBasic library needed by the library
0
; Help directory name
;
pbAPM.chm
;
; Library functions (FunctionName, Arg1, Arg2, ...)
;

APM_Init
InitFunction

... and so on
Kewl, thanks a bunch..

- np
Post Reply