[Grace-core] Detecting numeric faults
Andrew P Black
andrew.p.black at gmail.com
Wed Nov 5 10:36:40 PST 2014
On 5 Nov 2014, at 08:54 , Kim Bruce <kim at cs.pomona.edu> wrote:
> How do we check for answers of the form NaN or infinity from results of operations designed to return numbers. For example "abc".asNumber returns NaN, but Grace does not recognize this as an expression. I don't see an operation for checking this. What am I missing?
I don't think that you are missing anything. minigrace is missing NaN, etc as built-in constants.
Andrew
More information about the Grace-core
mailing list