Post Reply 
HHC 2015 RPN programming Contest is now open
10-01-2015, 10:57 AM
Post: #61
RE: HHC 2015 RPN programming Contest is now open
(10-01-2015 05:51 AM)Werner Wrote:  Gerson: on the 41, numeric values take up as many bytes as the digits and/or extra chars. So 123456 takes up 6 bytes and -1 E-3 takes up 5.

There is one exception: when the previous line contains a number, too, an invisible 'null' is inserted between the two, to separate the numbers. That takes up an extra byte.
On the 42S, this invisible null is present in all number entry lines, whether they are preceded by another number or not. And so the byte count for programs with number entry lines is different between the 41 and 42.

Cheers, Werner

Werner, thank you very much! This means my program is "only" 62 bytes long, not 64 :-) (assuming there is no other difference between the 41C and 42S regarding byte counts).

Gerson.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HHC 2015 RPN programming Contest is now open - Gerson W. Barbosa - 10-01-2015 10:57 AM



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