WP34S bug
#1

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

#2

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

#3

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

#4

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

Franz


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

#5

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

#6

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

#7

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.

#8

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


- Pauli



Possibly Related Threads…
Thread Author Replies Views Last Post
  wp34s binomial bug Andrew Nikitin 4 1,838 09-22-2013, 05:20 PM
Last Post: Paul Dale
  Expon bug in wp34s Andrew Nikitin 7 2,287 07-14-2013, 03:23 AM
Last Post: Marcus von Cube, Germany
  another wp34s bug Andrew Nikitin 8 2,561 06-26-2013, 01:01 AM
Last Post: Paul Dale
  weird statistics bug in wp34s Andrew Nikitin 5 2,175 06-20-2013, 01:54 PM
Last Post: Namir
  [WP34S] A funny bug in Pi (prod) Eduardo Duenez 3 1,459 01-28-2013, 03:41 AM
Last Post: Walter B
  [WP34s] Bug or feature? Dieter 25 6,783 01-03-2013, 06:20 PM
Last Post: Paul Dale
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 1,232 10-04-2012, 04:59 PM
Last Post: Paul Dale
  Bug in WP34S? Namir 5 1,996 08-05-2012, 06:32 PM
Last Post: Namir
  [WP34S] Curious Bug in Inverse Normal Function Les Wright 61 13,203 05-01-2012, 02:44 AM
Last Post: Paul Dale
  WP34s: Complex AGM (Bug...) Eduardo Duenez 33 7,714 04-23-2012, 05:59 PM
Last Post: Paul Dale

Forum Jump: