Ooops, found one of this nasty animals again:
FP? should give the opposite result compared with INT? but in fact returns the same value!
5 FP? gives true
5.1 FP? gives false
BTW, the new implemented NEXTP is indeed a good idea! :-)
Franz
WP34S bug
|
|
« Next Oldest | Next Newest »
|
▼
Post: #9
07-26-2011, 09:37 AM
Ooops, found one of this nasty animals again: FP? should give the opposite result compared with INT? but in fact returns the same value!
5 FP? gives true BTW, the new implemented NEXTP is indeed a good idea! :-) Franz ▼
Post: #10
07-26-2011, 01:37 PM
Hallo Franz, Thanks for reporting! This bug must have been introduced recently. It's buggy now but works as advertised in build 1108 on my 20b. Walter ▼ ▼
Post: #12
07-26-2011, 03:31 PM
Yes, FP? is back again, thanks Marcus! :-) Franz
Edited: 26 July 2011, 6:09 p.m. after one or more responses were posted ▼
Post: #13
07-26-2011, 03:52 PM
Franz, If you publish them, I will translate them to the assembler's syntax and put them in the "./library" directory. Can you make sure you write a little description of the I/O so I don't have to make a mistake reverse engineering anything. Thanks... ▼
Post: #14
07-26-2011, 05:20 PM
See also JMB's excellent site which has HP-41 programs for factorisation already. These programs port across unchanged usually. Even so, there are far better algorithms for finding factors that the trial division. The above link has some but there are plenty of others.
- Pauli ▼
Post: #15
07-26-2011, 05:54 PM
Quote:Ok, I've got it - program deleted ...
Edited: 26 July 2011, 5:55 p.m. ▼
Post: #16
07-26-2011, 06:05 PM
Why delete your code? It was a good example of 34s programming.
|