Post Reply 
WP 34s registers and integer modes
04-02-2015, 05:40 PM
Post: #2
RE: WP 34s registers and integer modes
Not a bug but a feature! Mode switching shouldn't affect stored values because this would essentially destroy their contents. Think of storing PI in R00, switching to integer mode and back to decimal mode. If we'd automatically convert the contents of R00 to integer and back the result would be 3, losing all the digits after the decimal point. The stack is a different case: here we decided to do the conversion.

You can access values in registers stored in the "wrong" format with specialized RCL commands: iRCL treats the register contents as an integer and converts it to decimal if needed. Likewise sRCL treats the register contents as if it was stored in single precision decimal mode. If called from integer mode, the value is dynamically converted. Now guess what dRCL is meant for...

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP 34s registers and integer modes - Marcus von Cube - 04-02-2015 05:40 PM



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