16C internal floating point format?
|
04-03-2021, 10:39 PM
(This post was last modified: 04-03-2021 11:01 PM by ThomasF.)
Post: #2
|
|||
|
|||
RE: 16C internal floating point format?
(04-03-2021 08:48 PM)billf Wrote: So, if someone has access to a real calculator, could you do me a favor and let me know what you get in (56 bit) hex when you store the following numbers into registers? 0.0 42.0 -42.0 1e42 1e-42 0.0001e-99 9.999999999e99, and finally, the results of (99 <ent> 9e99 *), (-99 <ent> 9e99 *) and (0 1/x). I think that covers all the bases. Hi Bill, This is what I get: 0.0 --> 0h 42.0 --> 04200000000001h -42.0 --> 94200000000001h 1e42 --> 1000000000042h 1e-42 --> 1000000000958h 0.0001e-99 --> not possible to enter 9.999999999e99 --> 09999999999099h (99 <ent> 9e99 *) --> 09999999999099h (-99 <ent> 9e99 *) --> 99999999999099h (0 1/x) --> Just gives "Error 0" Note that 99 <ent> 9e99 gives overflow - i.e. it becomes 9.999999999e99 I also used 64 bit wordsize when in hex-mode (FLOAT 8 - <enter number> STO - hex 0 WSIZE RCL), since I expect that registers are in 64 bits length (to be able to store a 64 bit integer), correct me if I am wrong. Edit: was partly wrong. Used the I-register which is always full size! Hope this helps you! Cheers, Thomas [35/45/55/65/67/97/80 21/25/29C 31E/32E/33E|C/34C/38E 41C|CV|CX 71B 10C/11C/12C/15C|CE/16C 32S|SII/42S 28C|S 48GX/49G/50G 35S 41X] |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
16C internal floating point format? - billf - 04-03-2021, 08:48 PM
RE: 16C internal floating point format? - ThomasF - 04-03-2021 10:39 PM
RE: 16C internal floating point format? - billf - 04-04-2021, 12:21 AM
RE: 16C internal floating point format? - Joe Horn - 04-04-2021, 01:24 AM
RE: 16C internal floating point format? - billf - 04-04-2021, 01:52 AM
RE: 16C internal floating point format? - KF6GPE - 04-04-2021, 02:32 AM
RE: 16C internal floating point format? - billf - 04-06-2021, 02:37 PM
RE: 16C internal floating point format? - ThomasF - 04-06-2021, 05:29 PM
RE: 16C internal floating point format? - billf - 04-14-2021, 07:58 PM
RE: 16C internal floating point format? - ThomasF - 04-14-2021, 08:26 PM
New 16C simulator - alpha on web - billf - 05-01-2021, 10:19 PM
RE: 16C internal floating point format? - KF6GPE - 05-02-2021, 02:31 AM
RE: 16C internal floating point format? - KimH - 05-02-2021, 05:37 AM
|
User(s) browsing this thread: 1 Guest(s)