[Implemented] 64 Bit variable handling
[Implemented] 64 Bit variable handling
It will be nice if in PB will exist 64 bit variables (QWORD - 8 byte), and maybe even 10 - byte variables.
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Some links:
viewtopic.php?t=8058
viewtopic.php?t=2480
viewtopic.php?t=6496
viewtopic.php?t=6896
viewtopic.php?t=3117
viewtopic.php?t=3078
viewtopic.php?t=3260
viewtopic.php?t=7853
PB uses fasm now.
Nasm and fasm support, of course, QWORD (64bit), TWORD (80bit) and DQWORD (128bit), just because intel processors support it.
There are some user-lib which allow use of big numbers. I use bignum.dll by Rings.
viewtopic.php?t=8058
viewtopic.php?t=2480
viewtopic.php?t=6496
viewtopic.php?t=6896
viewtopic.php?t=3117
viewtopic.php?t=3078
viewtopic.php?t=3260
viewtopic.php?t=7853
PB uses fasm now.
Nasm and fasm support, of course, QWORD (64bit), TWORD (80bit) and DQWORD (128bit), just because intel processors support it.
There are some user-lib which allow use of big numbers. I use bignum.dll by Rings.
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
Or you use either my F64 or my pbAPM (very, very large numbers
Library, both can be found on http://www.purearea.net

- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Huge work.
Having APM, why F64?
However, i've tried this and it hangs!
Having APM, why F64?
However, i've tried this and it hangs!
Code: Select all
gh.l=APM_New()
APM_Val(gh,"3.4345346563090984033467344")
APM_Add(gh,"0.0000000000000000000000001")
Debug APM_StrFixpt(gh)
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Sorry, freedimension, i read help, but i did't see it
I guess PB will never support so big numbers 8O
So your AMP library must be well keeped.
WoWWW, MisterDr, here you have a very accurate real and integer numbers:

Code: Select all
gh.l=APM_New()
gm.l=APM_New()
APM_Val(gh,"3.43453000010000465630909843456323452534536764545735634634264563434563456347033467344")
APM_Val(gm,"0.00000000000000000000000000000000000000000000000000000000000000000000000000000000001")
APM_Add(gh,gm)
Debug APM_StrFixpt(gh)
So your AMP library must be well keeped.
WoWWW, MisterDr, here you have a very accurate real and integer numbers:



Code: Select all
gh.l=APM_New()
gm.l=APM_New()
APM_SetPrecision(500)
APM_PI(gh)
Debug APM_StrFixpt(gh)
Thanx man, Im now porting some applications from 3d state, and it's sucessfull until I received QWORD from 3dstate's Dll, and I stucked.
I tryed with structures but nothing. Received content form state's dll is not formated as I expected, because of values like 788.23267263772 and I canot just catch High or Low dword.
I tryed with structures but nothing. Received content form state's dll is not formated as I expected, because of values like 788.23267263772 and I canot just catch High or Low dword.