Post Reply 
New firmware for the Swissmicros DM15L
10-08-2024, 06:36 AM
Post: #94
RE: New firmware for the Swissmicros DM15L
Here's a new beta:

Quote:f Py,x and g Cy,x leave the Y-register unchanged. The content of both X- and Y-register should disappear, as for + or * .

1 ENTER 2 ← RCL n (or RCL f #RAN) lifts 1 in the Z-register, and leaves 0 in the Y-register. 1 should remain in the Y-register.

Fixed and fixed, thanks!

Quote:With "Go To Line: n" when n isn’t a valid line number, the lines displayed are n-2 and n-1. This is not very important, but I would rather expect to see the lines n-1 and n+1.
That's a good point, I fixed it.

Quote:I’ve noticed some difficulties with very small numbers.
Good catch. I added it to the list of things to look into, I think at some I gotta decide how to deal with subnormal numbers rather than letting the C compiler decide.

Quote:Can you not just catch the one case of "when Y is real and negative and X is an integer then the IMAGINARY part of the result = 0" and not get too involved beyond that? Or am being too naive?
I could, but my worry is that there will be an endless amount of similar checks that need to be sprinkled around. For example, g PI SIN does not return 0, but 1.2246E-16. I should also add a check for that function. cosine and tangent behave similarly, it all comes from the fact that the value for pi has only so much precision, and the built in trig functions don't check for that. Before I start adding as many as these sanity checks as I can find, I want to make sure that I am not missing something more obvious on how floating point works.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New firmware for the Swissmicros DM15L - jebedeo - 10-08-2024 06:36 AM



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