Post Reply 
V41 and its display functions
05-09-2016, 07:39 AM
Post: #6
RE: V41 and its display functions
Hello, Ángel – thank you very much for your quick reply.

(05-09-2016 05:05 AM)Ángel Martin Wrote:  Hi Guys, sorry to say but the double digits come from the SandMath Module...
...
Hope that's not a problem Dieter, your post is a great explanation of the effects of such an extension - I saw this as an enhancement (as opposed to something to be blamed for) but I can understand some may not.

Well... it can cause "unexpected behaviour", as shown above. And even the same command may yield different results. With FIX, SCI, ENG and TONE parameters > 9 will not throw an error but do ..."something" instead.

There may be some use for this with TONE, at least if the generated sounds are the ones that would be obtained by a synthetic command with the same suffix (e.g. TONE 26 produces a five-second tone – which seems to be true here). But with the display commands the double digit prompt is potentially dangerous – the user has to take care that the parameter does not exceed 9.

While we're at it: Sandmath also has this "Fix Float" mode, similar to the standard display format of other calculators.
I tried Pi with different powers of 10 and this is what I got:

Code:
3,141592654
0,314159265
0,031415926
0,003141592
0,000314159
0,000031415
0,000003141
3,       -07
3,1      -08
0,000000003
3,1415926-10
3,1415926-11
3,1415926-12
...

So the display is truncated, not rounded (...31415 instead of ...31416). At a certain point the display switches to scientific notation, but with merely one or two significant digits, then back to FIX 9 and then to SCI 9. Is this the way it is supposed to work?

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
V41 and its display functions - Dieter - 05-08-2016, 03:56 PM
RE: V41 and its display functions - Dieter - 05-08-2016, 04:48 PM
RE: V41 and its display functions - Dieter - 05-09-2016 07:39 AM



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