Post Reply 
HP50G bug ?
12-09-2014, 11:31 AM
Post: #8
RE: HP50G bug ?
(12-08-2014 06:42 PM)Han Wrote:  
(12-08-2014 06:25 PM)Gilles Wrote:  Both returns :

Code:
!NO CODE
!RPL
{
  ZINT 1
  ZINT 0
  ZINT 1
}
@

(Version 2.09)
Looks like a very strange bug...

Code:

{ 1 2 3 4 5 } 2 MOD { 1 0 1 0 1 } ==
returns 0.

{ 1 2 3 4 5 } 2 MOD ->S2 { 1 0 1 0 1 } ->S2 ==
returns 1.

I am running 2.15 and { 1 0 1 0 1 } ->S2 produces
!NO CODE
!RPL
{
Z1_
Z0_
Z1_
Z0_
Z1_
}
@

Basically, the MOD function returns an actual ZINT object as the result whereas the command line parser will parse 0 as the built-in integer 0 whose address is defined as Z0_. I'm not sure why ->S2 on version 2.09 doesn't produce different source code...

This is also confirmed using Jazz for the 50G.

Very good, we now know WHY this bug crops up, it's indisputably a bug, accordingly HP will shortly produce a rectified OS for the 50G.

What about the poor 49G users, left abandoned in a bug-warp, doomed to ingenious work-arounds?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP50G bug ? - Gilles - 12-08-2014, 12:15 PM
RE: HP50G bug ? - Gerald H - 12-08-2014, 12:41 PM
RE: HP50G bug ? - Gerald H - 12-08-2014, 12:57 PM
RE: HP50G bug ? - Gilles - 12-08-2014, 01:31 PM
RE: HP50G bug ? - Gerald H - 12-08-2014, 02:18 PM
RE: HP50G bug ? - Gilles - 12-08-2014, 06:25 PM
RE: HP50G bug ? - Han - 12-08-2014, 06:42 PM
RE: HP50G bug ? - Gerald H - 12-09-2014 11:31 AM
RE: HP50G bug ? - Han - 12-09-2014, 06:40 PM
RE: HP50G bug ? - Claudio L. - 12-12-2014, 06:01 PM
RE: HP50G bug ? - toml_12953 - 12-12-2014, 06:47 PM
RE: HP50G bug ? - Gerald H - 12-12-2014, 07:51 PM
RE: HP50G bug ? - John R. Graham - 12-12-2014, 03:47 PM
RE: HP50G bug ? - Gerald H - 12-12-2014, 04:00 PM
RE: HP50G bug ? - John R. Graham - 12-12-2014, 04:06 PM
RE: HP50G bug ? - Gerald H - 12-12-2014, 04:13 PM
RE: HP50G bug ? - John R. Graham - 12-12-2014, 04:52 PM
RE: HP50G bug ? - Han - 12-12-2014, 04:11 PM
RE: HP50G bug ? - Gerald H - 12-12-2014, 04:32 PM
RE: HP50G bug ? - Han - 12-12-2014, 04:58 PM
RE: HP50G bug ? - John R. Graham - 12-12-2014, 08:06 PM
RE: HP50G bug ? - Han - 12-12-2014, 09:35 PM
RE: HP50G bug ? - Claudio L. - 12-15-2014, 05:49 PM
RE: HP50G bug ? - Han - 12-15-2014, 07:07 PM
RE: HP50G bug ? - Claudio L. - 12-16-2014, 03:25 AM
RE: HP50G bug ? - Gilles - 12-15-2014, 09:08 PM
RE: HP50G bug ? - Claudio L. - 12-16-2014, 03:13 AM
RE: HP50G bug ? - Bruno - 12-16-2014, 09:14 AM
RE: HP50G bug ? - Claudio L. - 12-16-2014, 01:51 PM
RE: HP50G bug ? - Gerald H - 12-18-2014, 03:27 PM
RE: HP50G bug ? - Claudio L. - 12-18-2014, 03:32 PM
RE: HP50G bug ? - Gerald H - 12-18-2014, 04:09 PM
RE: HP50G bug ? - Claudio L. - 12-18-2014, 05:32 PM



User(s) browsing this thread: 2 Guest(s)