On 2013/11/26 12:26:32, Jakob wrote:
LGTM. You're lucky this works out for -0 ;-)
That's not luck, that's the spec: ;-)
15.8.2.6 ceil (x)
[...]
The value of Math.ceil(x) is the same as the value of -Math.floor(-x).
https://codereview.chromium.org/88053002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.