W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 06 Mar 2012 23:28:33 +0000
To: public-script-coord@w3.org
Message-Id: <E1S53o1-0007b2-W2@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC