Post Reply 
newRPL: inexact numbers
12-29-2014, 05:32 PM
Post: #4
RE: newRPL: inexact numbers
In the other thread about symbolic numbers, the trailing dot was used to specify "exact" vs. "approximated" numbers.
This same concept can be used to achieve what this thread was proposing: if any operation comes up with the "inexact" flag, its result will be an "approx." number, which will be displayed with a trailing dot.

The result of any numeric operation will be an "approx" number if either:
a) The result of the operation has the "inexact" bit set
b) Any input to the operator is an approx. number

2 INV --> 0.5 (exact)
2. INV --> 0.5. (approx)
3 INV --> 0.33333333. (approx)

Since this had to be implemented for the CAS to work properly without an exact/approx. mode, the overhead was already there.

I already implemented it and is being tested.
Next demo will come with this feature.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
newRPL: inexact numbers - Claudio L. - 12-23-2014, 05:34 PM
RE: newRPL: inexact numbers - Paul Dale - 12-23-2014, 09:42 PM
RE: newRPL: inexact numbers - Claudio L. - 12-24-2014, 02:32 AM
RE: newRPL: inexact numbers - Claudio L. - 12-29-2014 05:32 PM



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