[42S] MANT Challenge
|
01-23-2014, 03:15 PM
(This post was last modified: 01-23-2014 03:26 PM by Dieter.)
Post: #22
|
|||
|
|||
RE: [42S] MANT Challenge
(01-23-2014 11:05 AM)Gerson W. Barbosa Wrote:(01-23-2014 11:02 AM)Werner Wrote: Hi Gerson!So does the HP-15C version for 1e-99... Yes, that's why my previous version handles these cases separately. However, this can be done more elegantly, even shorter and without an explicit constant (-499 resp. -99), so it should work on the 42s as well as on the 15C and many other HPs. Code: 01 ABS All input values are shifted by one magnitude towards 10, so that over-/underflow can not occur. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)