- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 20 Mar 2013 14:28:58 -0400
- To: Domenic Denicola <domenic@domenicdenicola.com>
- CC: Anne van Kesteren <annevk@annevk.nl>, Marcos Caceres <w3c@marcosc.com>, Yehuda Katz <wycats@gmail.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 3/20/13 2:24 PM, Domenic Denicola wrote: > Basically converts anything that's not a number to zero, and then does the standard `sign(number) * floor(abs(number))` integer-ization. Ah, interesting. That might be worth adding, yes (though note that it has to be expressed as a floating-point type in the end, because Infinity and -Infinity are valid values). -Boris
Received on Wednesday, 20 March 2013 18:29:29 UTC