HP Forums

Full Version: WP34S bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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

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

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

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

Franz


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

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

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

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.

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


- Pauli