Displaying numbers
-
- Posts: 85
- Joined: Wed Jan 03, 2018 3:48 pm
- Location: Nuremberg, Germany
Displaying numbers
With FIX I can determine how many digits after the decimal point/comma I want to have displayed.
FIX 00 - none
FIX 01 - one
and so on
This goes fine as long as the mantissa is less or equal than 12.
Entering 1.23456789012
FIX 11:
Mantissa: 1.23456789012
Adding 10
Mantissa: 11.2345678901
(10 digits after decimal point - not as expected by me)
FIX 03:
Mantissa: 11.235
(3 digits after decimal point - as expected)
I don't have my HP42S with me, so I can't check if this is the original behaviour.
Can anyone confirm if the 42s also works this way?
FIX 00 - none
FIX 01 - one
and so on
This goes fine as long as the mantissa is less or equal than 12.
Entering 1.23456789012
FIX 11:
Mantissa: 1.23456789012
Adding 10
Mantissa: 11.2345678901
(10 digits after decimal point - not as expected by me)
FIX 03:
Mantissa: 11.235
(3 digits after decimal point - as expected)
I don't have my HP42S with me, so I can't check if this is the original behaviour.
Can anyone confirm if the 42s also works this way?
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5
DM42 S/# 01015 FW v3.5
-
- Posts: 1102
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Displaying numbers
As you've observed yourself, the mantissa is displayed with up to 12 digits. The more digits there are before the decimal, the fewer positions are available after the decimal.Krauts In Space wrote: ↑Tue Feb 27, 2018 10:33 amWith FIX I can determine how many digits after the decimal point/comma I want to have displayed.
FIX 00 - none
FIX 01 - one
and so on
This goes fine as long as the mantissa is less or equal than 12.
Entering 1.23456789012
FIX 11:
Mantissa: 1.23456789012
Adding 10
Mantissa: 11.2345678901
(10 digits after decimal point - not as expected by me)
FIX 03:
Mantissa: 11.235
(3 digits after decimal point - as expected)
I don't have my HP42S with me, so I can't check if this is the original behaviour.
Can anyone confirm if the 42s also works this way?
Yes, the real HP-42S works this way.
(Have you ever encountered a calculator that doesn't work this way?)
-
- Posts: 85
- Joined: Wed Jan 03, 2018 3:48 pm
- Location: Nuremberg, Germany
Re: Displaying numbers
Well, with the HP35s:Thomas Okken wrote: ↑Tue Feb 27, 2018 11:42 amAs you've observed yourself, the mantissa is displayed with up to 12 digits. The more digits there are before the decimal, the fewer positions are available after the decimal.Krauts In Space wrote: ↑Tue Feb 27, 2018 10:33 amWith FIX I can determine how many digits after the decimal point/comma I want to have displayed.
FIX 00 - none
FIX 01 - one
and so on
This goes fine as long as the mantissa is less or equal than 12.
Entering 1.23456789012
FIX 11:
Mantissa: 1.23456789012
Adding 10
Mantissa: 11.2345678901
(10 digits after decimal point - not as expected by me)
FIX 03:
Mantissa: 11.235
(3 digits after decimal point - as expected)
I don't have my HP42S with me, so I can't check if this is the original behaviour.
Can anyone confirm if the 42s also works this way?
Yes, the real HP-42S works this way.
(Have you ever encountered a calculator that doesn't work this way?)
FIX 9
1.1 -> 1.100000000 (8 zeros)
10 + -> 11.100000000 (8 zeros)
100 + -> 111.100000000 (8 zeros)
It's not a big thing with the DM42, but with all stack registers visible it is apparent and I got curious.
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5
DM42 S/# 01015 FW v3.5
-
- Posts: 1102
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Displaying numbers
Please continue that series. You stopped just before it was going to get interesting.Krauts In Space wrote: ↑Tue Feb 27, 2018 12:24 pmWell, with the HP35s:Thomas Okken wrote: ↑Tue Feb 27, 2018 11:42 amYes, the real HP-42S works this way.
(Have you ever encountered a calculator that doesn't work this way?)
FIX 9
1.1 -> 1.100000000 (8 zeros)
10 + -> 11.100000000 (8 zeros)
100 + -> 111.100000000 (8 zeros)
Re: Displaying numbers
Thomas Okken wrote: ↑Tue Feb 27, 2018 1:01 pmPlease continue that series. You stopped just before it was going to get interesting.
Greetings,
Massimo
ajcaton
-+×÷ left is right and right is wrong Casted in gold
Massimo
ajcaton
-+×÷ left is right and right is wrong Casted in gold
-
- Posts: 85
- Joined: Wed Jan 03, 2018 3:48 pm
- Location: Nuremberg, Germany
Re: Displaying numbers
You asked me if I know any other calculator that displays a mantissa the way I asked.Thomas Okken wrote: ↑Tue Feb 27, 2018 1:01 pmPlease continue that series. You stopped just before it was going to get interesting.Krauts In Space wrote: ↑Tue Feb 27, 2018 12:24 pmWell, with the HP35s:Thomas Okken wrote: ↑Tue Feb 27, 2018 11:42 amYes, the real HP-42S works this way.
(Have you ever encountered a calculator that doesn't work this way?)
FIX 9
1.1 -> 1.100000000 (8 zeros)
10 + -> 11.100000000 (8 zeros)
100 + -> 111.100000000 (8 zeros)
Hmmm ... I better answer 'yes' in any other case.
I DO know that simply adding zeros at the end of a number is worthless. It just was to proof my point.
I also can stop posting here if I'm annoying ...
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5
DM42 S/# 01015 FW v3.5
-
- Posts: 1102
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Displaying numbers
Jesus fucking Christ. This kind of bullshit is why I ended up shutting down my own Free42 forum. I honestly can't tell whether Krauts in Space is trolling here, or is just really, really dumb.
JUST CONTINUE THE FUCKING SERIES AND OBSERVE HOW MANY DIGITS THERE ARE AFTER THE DECIMAL AS THE NUMBER OF DIGITS BEFORE THE DECIMAL KEEPS INCREASING.
JUST CONTINUE THE FUCKING SERIES AND OBSERVE HOW MANY DIGITS THERE ARE AFTER THE DECIMAL AS THE NUMBER OF DIGITS BEFORE THE DECIMAL KEEPS INCREASING.
Re: Displaying numbers
Come on, do the test with 4/3 instead ... (no reason for going banana IMHO)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
-
- Posts: 1102
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Displaying numbers
And what difference is that going to make? Am I losing my mind here or was the question about why a calculator, set to FIX n, might display fewer than n digits behind the decimal?
Krauts in Space's refusal to actually pay attention to what calculators do is the problem, not whether he's looking at a string of zeroes vs. a string of threes.
-
- Posts: 1102
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Displaying numbers
So, one more time:
10000 + -> ??? (how many zeroes?)
100000 + -> ??? (how many zeroes?)
If you'd tried the exact same test case on the 35s that you started this thread about, THE EXACT SAME ONE, you would have seen what was going on. But no, instead of FIX 11 you set it to FIX 9, and then you stop the series exactly when it reaches 12 digits. Why?
1000 + -> ??? (how many zeroes?)Krauts In Space wrote: ↑Tue Feb 27, 2018 12:24 pmFIX 9
1.1 -> 1.100000000 (8 zeros)
10 + -> 11.100000000 (8 zeros)
100 + -> 111.100000000 (8 zeros)
10000 + -> ??? (how many zeroes?)
100000 + -> ??? (how many zeroes?)
If you'd tried the exact same test case on the 35s that you started this thread about, THE EXACT SAME ONE, you would have seen what was going on. But no, instead of FIX 11 you set it to FIX 9, and then you stop the series exactly when it reaches 12 digits. Why?