HP Forums
WP34S bug - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: WP34S bug (/thread-188783.html)



WP34S bug - fhub - 07-26-2011

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


Re: WP34S bug - Walter B - 07-26-2011

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


Re: WP34S bug - Marcus von Cube, Germany - 07-26-2011

It's working again in the latest build. :-)


Re: WP34S bug - fhub - 07-26-2011

Yes, FP? is back again, thanks Marcus! :-)

Franz


Edited: 26 July 2011, 6:09 p.m. after one or more responses were posted


Re: WP34S bug - Neil Hamilton (Ottawa) - 07-26-2011

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...


Re: WP34S bug - Paul Dale - 07-26-2011

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


Re: WP34S bug - fhub - 07-26-2011

Quote:
Even so, there are far better algorithms for finding factors that the trial division.

Ok, I've got it - program deleted ...

Edited: 26 July 2011, 5:55 p.m.


Re: WP34S bug - Paul Dale - 07-26-2011

Why delete your code? It was a good example of 34s programming.


- Pauli