Search found 230 matches

by Boub65
Thu Aug 12, 2021 2:39 pm
Forum: Software issues
Topic: Another weird multi-line editor bug [VIDEO]
Replies: 11
Views: 5826

Re: Another weird multi-line editor bug [VIDEO]

Hello Bob,
DM41X f/w is 2.1
Lib#4 and HEPAX 4H plugged. That's all.

I could reproduce the bug at the moment as many times as I wanted, which allowed me to film the video...
... but could not repoduce afterwards!

I will try again to reproduce...
by Boub65
Thu Aug 12, 2021 12:42 pm
Forum: Software Library
Topic: Prime check : Miller-Rabin primality test (with bases)
Replies: 10
Views: 4899

Re: Prime check : Miller-Rabin primality test (with bases)

@walter @over_score About GMP : " GMP versions up to and including 6.1.2 did not use the Baillie-PSW primality test. In those older versions of GMP, this function performed reps Miller-Rabin tests. " So the older version of GMP where indeed limited to 3E24, like my algorithm... ... But, ve...
by Boub65
Thu Aug 12, 2021 11:14 am
Forum: Software Library
Topic: Prime check : Miller-Rabin primality test (with bases)
Replies: 10
Views: 4899

Re: Prime check : Miller-Rabin primality test (with bases)

Merci Over_score,
Interesting... the Bailly-PSW test is my next RPN programming challenge 😜
by Boub65
Thu Aug 12, 2021 1:58 am
Forum: Software Library
Topic: Prime check : Miller-Rabin primality test (with bases)
Replies: 10
Views: 4899

Re: Prime check : Miller-Rabin primality test (with bases)

Hello Walter,
Walter wrote:
Wed Aug 11, 2021 11:32 pm
This test is hard-wired in the WP43S. Feel free to check PRIME?. Just FYI.
Up to what number is the test deterministic in WP43s?
or are you using random numbers as "base" to cover the full range of "integer"?
by Boub65
Wed Aug 11, 2021 8:32 pm
Forum: Software issues
Topic: Another weird multi-line editor bug [VIDEO]
Replies: 11
Views: 5826

Another weird multi-line editor bug [VIDEO]

Hi all,
here is another weird multi-line editor bug caught on video (the video is not public, must have the following link)...

https://youtube.com/shorts/H_0GB5hOEGk

Hope it helps debugging...
by Boub65
Wed Aug 11, 2021 8:05 pm
Forum: Software Library
Topic: Prime check : Miller-Rabin primality test (with bases)
Replies: 10
Views: 4899

Prime check : Miller-Rabin primality test (with bases)

Here is a DM42 program that checks if X register is a (big) prime number using the Miller-Rabin algorithm with a set of bases. The algorithm works up to 3 E 24 (well over 2 ^ 64). More on the Miller-Rabin primality test here : https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test The pro...
by Boub65
Wed Aug 11, 2021 7:41 pm
Forum: User Software Contributions
Topic: Prime check : Miller Rabin primality test (with bases)
Replies: 1
Views: 3663

Prime check : Miller Rabin primality test (with bases)

Here is a DM41X program that checks if X register is a (big) prime number using the Miller-Rabin algorithm with a set of bases. The algorithm works up to 5 EEX 09. More on the Miller-Rabin primality test here : https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test The program uses the fo...
by Boub65
Wed Aug 11, 2021 1:05 pm
Forum: User Software Contributions
Topic: Bulhmann decompression calculator (ZH16B)
Replies: 3
Views: 5110

Bulhmann decompression calculator (ZH16B)

==================================================== DISCLAIMER : ZH16B is a DM41X deco program that is given for educational purpose only (RPN deco calculations) IT SHOULD NOT BE USED TO PLAN YOUR DIVES... ... although it gives same results (around 99%) as MULTIDECO ANDROID commercial planner! ====...
by Boub65
Tue Aug 10, 2021 8:12 pm
Forum: DM1x/DM1xL
Topic: [DM15L_M1B] Buhlmann decompression calculator (ZH16B)
Replies: 0
Views: 2882

[DM15L_M1B] Buhlmann decompression calculator (ZH16B)

=============================================== DISCLAIMER : ZH16B is a DM15L/DM15 deco program that is given for educational purpose only (RPN deco calculations) IT SHOULD NOT BE USED TO PLAN YOUR DIVES... ... although it gives same results (around 99%) as MULTIDECO ANDROID commercial planner! ====...
by Boub65
Tue Aug 10, 2021 10:32 am
Forum: DM41X
Topic: [DOCUMENTATION] SLOW, FAST, 24MHz and 80MHz
Replies: 3
Views: 2083

Re: [DOCUMENTATION] SLOW, FAST, 24MHz and 80MHz

I know Peet... But the chapter about CPU speed is different from the chapter on SLOW/FAST and there is no cross reference. So there could be some doubts... So something like : " SLOW corresponds to original 41C speed and is independent from CPU speed, FAST is roughly 50 times faster @24MHz CPU ...