WP34S bug



#2

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


#3

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


#4

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


#5

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

Franz


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


#6

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


#7

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


#8

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.


#9

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 541 09-22-2013, 05:20 PM
Last Post: Paul Dale
  Expon bug in wp34s Andrew Nikitin 7 792 07-14-2013, 03:23 AM
Last Post: Marcus von Cube, Germany
  another wp34s bug Andrew Nikitin 8 846 06-26-2013, 01:01 AM
Last Post: Paul Dale
  weird statistics bug in wp34s Andrew Nikitin 5 738 06-20-2013, 01:54 PM
Last Post: Namir
  [WP34S] A funny bug in Pi (prod) Eduardo Duenez 3 557 01-28-2013, 03:41 AM
Last Post: Walter B
  [WP34s] Bug or feature? Dieter 25 1,846 01-03-2013, 06:20 PM
Last Post: Paul Dale
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 402 10-04-2012, 04:59 PM
Last Post: Paul Dale
  Bug in WP34S? Namir 5 609 08-05-2012, 06:32 PM
Last Post: Namir
  [WP34S] Curious Bug in Inverse Normal Function Les Wright 61 3,001 05-01-2012, 02:44 AM
Last Post: Paul Dale
  WP34s: Complex AGM (Bug...) Eduardo Duenez 33 2,282 04-23-2012, 05:59 PM
Last Post: Paul Dale

Forum Jump: