[Bug 16075] Make a float/double type that excludes NaN/Infinity/-Infinity

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16075

--- Comment #10 from Cameron McCormack <cam@mcc.id.au> 2012-03-06 23:28:31 UTC ---
I don't really like the pattern of ignoring a whole function call because one
of the float/double arguments got a non-finite value.  It's trickier still when
the operation is declared with a return type other than void -- you need to
define what gets returned from it.

Maybe Aryeh's suggestion of mapping NaN/±Infinity to 0 would be OK, but I would
like to see that we're all in favour of that change before making it.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 6 March 2012 23:28:38 UTC