Search found 65 matches
- Tue Jul 08, 2025 2:37 pm
- Forum: Applications - Feedback and Discussion
- Topic: Lizard - Script language for symbolic calculations, arbitrary large and precise numbers, parallel computing and more
- Replies: 36
- Views: 41435
- Mon Oct 21, 2024 10:04 pm
- Forum: Applications - Feedback and Discussion
- Topic: Lizard - Script language for symbolic calculations, arbitrary large and precise numbers, parallel computing and more
- Replies: 36
- Views: 41435
Re: Lizard - Script language for symbolic calculations, arbitrary large and precise numbers, parallel computing and more
Hi STARGÅTE,
First let me thank you so much, this is great. I am using your script language and it is amazing fast and very useful.
But I have some questions.I hope you or other users can help me out.
XIncludeFile "../Lizard/Library/Lizard.pbi"
; Lizard always has to be initialized first.
If ...
First let me thank you so much, this is great. I am using your script language and it is amazing fast and very useful.
But I have some questions.I hope you or other users can help me out.
XIncludeFile "../Lizard/Library/Lizard.pbi"
; Lizard always has to be initialized first.
If ...
- Thu Aug 01, 2024 3:35 pm
- Forum: Coding Questions
- Topic: Where am I? - IDE Improvement
- Replies: 11
- Views: 2220
Re: Where am I? - IDE Improvement
+1 to that!!!Ideally, the current procedure would automatically be displayed in bold in the procedure list.
- Sat Jul 27, 2024 4:31 pm
- Forum: Tricks 'n' Tips
- Topic: Math : Fraction, Transform 0.54 in 27/50
- Replies: 18
- Views: 7723
Re: Math : Fraction, Transform 0.54 in 27/50
Thanks, I was looking for this and it is very useful. But.. I found a tiny error in it... Brackets... Here is my version.
; https://www.purebasic.fr/english/viewtopic.php?t=42091&start=15
; ** find rational approximation To given real number
; ** David Eppstein / UC Irvine / 8 Aug 1993
; ** With ...
; https://www.purebasic.fr/english/viewtopic.php?t=42091&start=15
; ** find rational approximation To given real number
; ** David Eppstein / UC Irvine / 8 Aug 1993
; ** With ...
- Sat Aug 19, 2023 11:17 am
- Forum: Coding Questions
- Topic: openGL subsystem not found
- Replies: 2
- Views: 622
Re: openGL subsystem not found
That fixed it. Done!
- Sat Aug 19, 2023 11:11 am
- Forum: Coding Questions
- Topic: Can't Find OpenGL
- Replies: 9
- Views: 1238
Re: Can't Find OpenGL
Thx so much Fred. Indeed the check was build into my code. That was in 2015, so I forgot it.

- Sat Aug 19, 2023 9:28 am
- Forum: Coding Questions
- Topic: Can't Find OpenGL
- Replies: 9
- Views: 1238
Re: Can't Find OpenGL
Thx. I did in Bugs - Windows\openGL subsystem not found.
- Sat Aug 19, 2023 9:27 am
- Forum: Coding Questions
- Topic: openGL subsystem not found
- Replies: 2
- Views: 622
openGL subsystem not found
An old project with openGL now opened with PureBasic 6.02 for Windows, x64. PureBasic syntax check/compiler says it cannot find the subsystem and does not compile. If I remove openGL in the compileroptions (libs), it does compile without warning or errors, but the executable gives a Warning: Please ...
- Sat Aug 19, 2023 7:19 am
- Forum: Coding Questions
- Topic: Can't Find OpenGL
- Replies: 9
- Views: 1238
Re: Can't Find OpenGL
With PureBasic 5.73 LTS x64 no problems, so for a short time solution that's ok. 
- Fri Aug 18, 2023 6:35 pm
- Forum: Coding Questions
- Topic: Can't Find OpenGL
- Replies: 9
- Views: 1238
Re: Can't Find OpenGL
I got the same problem. An old project with openGL now opened with PureBasic 6.02 for Windows, x64. PureBasic syntax check/compiler says it cannot find the subsystem and does not compile. If I remove openGL in the compileroptions (libs), it does compile without warning or errors, but the executable ...
- Tue Apr 25, 2023 1:08 pm
- Forum: Tricks 'n' Tips
- Topic: Hex2Dec (hex string to decimal)
- Replies: 27
- Views: 12168
Re: Hex2Dec (hex string to decimal)
Thx idle, for hex values fitting in .q variables this works fine.
For bigger Values (using BigInt) the code of Lunasole was promissing. But I understand what Lunasole is saying about old code.
For bigger Values (using BigInt) the code of Lunasole was promissing. But I understand what Lunasole is saying about old code.
- Mon Apr 24, 2023 11:10 pm
- Forum: Tricks 'n' Tips
- Topic: Hex2Dec (hex string to decimal)
- Replies: 27
- Views: 12168
Re: Hex2Dec (hex string to decimal)
Perhaps I am doing something wrong here, but if I test it with powers of 2 I get strange results.
Please let me know what I am doing wrong or....
Thx!
; test/example
Dim Key.a(0)
For i = 0 To Hex2Dec(Key(), "80") ; Hex 80 = 128 and it says 128
Debug Key(i)
Next i
For i = 0 To Hex2Dec(Key ...
Please let me know what I am doing wrong or....
Thx!
; test/example
Dim Key.a(0)
For i = 0 To Hex2Dec(Key(), "80") ; Hex 80 = 128 and it says 128
Debug Key(i)
Next i
For i = 0 To Hex2Dec(Key ...
- Sat Mar 04, 2023 11:20 am
- Forum: Tricks 'n' Tips
- Topic: BigInt module (SSE2)
- Replies: 47
- Views: 28973
Re: BigInt module (SSE2)
Thx wilbert.
I did not use ModMul, so I wrote a tester with it and I did not get any differences in a wide range between running with #BigIntBits 2048 and 4096.
I also tested with 216*46656 mod 9 = 6^9 mod 9 should be 0 and it is. With ModPow 6^9 mod 9 and #BigIntBits 2048 it gives not 0 on my PC ...
I did not use ModMul, so I wrote a tester with it and I did not get any differences in a wide range between running with #BigIntBits 2048 and 4096.
I also tested with 216*46656 mod 9 = 6^9 mod 9 should be 0 and it is. With ModPow 6^9 mod 9 and #BigIntBits 2048 it gives not 0 on my PC ...
- Fri Mar 03, 2023 11:04 pm
- Forum: Tricks 'n' Tips
- Topic: BigInt module (SSE2)
- Replies: 47
- Views: 28973
Re: BigInt module (SSE2)
I did a test with many calculations and compared the output between runs with 512,1024, 2048 and 4096 as #BigIntBits. All were the same with the exception of 2048 on many cases. As long as nobody has an explanation, I would suggest that if you use BigInt, you compare the output with the output using ...
- Tue Feb 28, 2023 10:43 pm
- Forum: Tricks 'n' Tips
- Topic: BigInt module (SSE2)
- Replies: 47
- Views: 28973
Re: BigInt module (SSE2)
The problem only seems to be on my PC with #BigIntBits = 2048, I tried 512,1024 and 4096 without a problem.
You even don't have a problem with #BigIntBits = 2048 and we both use Windows x64.
I wonder if there's anyone who knows the possible reason for it. But I am fine now, I have a workaround. Thx!
You even don't have a problem with #BigIntBits = 2048 and we both use Windows x64.
I wonder if there's anyone who knows the possible reason for it. But I am fine now, I have a workaround. Thx!