Re: RPN, algebraic, and the % function Message #17 Posted by tropicflite on 16 May 2007, 10:35 p.m., in response to message #16 by Norris
First, thanks for you efforts. Your program works a treat, and now lives in my 33S. That said, I was curious about the results of the 2 different % functions you mentioned, so I tried it on 3 different calculators, which yielded some interesting (and varying) results.
Calculator 1: LeWorld one-dollar six-banger
200 + 30 % --- returns 260
200 - 30 % --- returns 140
200 * 30 % --- returns 60
200 / 30 % --- returns 666.66666
Calculator 2: TI-30X IIS (2-line ALG scientific calc)
200 + 30 % --- returns 200.3
200 - 30 % --- returns 199.7
200 * 30 % --- returns 60
200 / 30 % --- returns 666.66666
Calculator 3: HP-33S (in ALG mode, results exactly as you stated)
200 + 30 % --- returns 60
200 - 30 % --- returns 60
200 * 30 % --- returns .30
200 / 30 % --- returns .30
Edited: 16 May 2007, 10:55 p.m.
|