Comment #8 on issue 2294 by [email protected]: Apparently incorrect rounding in Uint8ClampedArray implementation in V8
http://code.google.com/p/v8/issues/detail?id=2294
As far as I looked into it, default rounding mode for C is ROUND_TO_NEAREST, which does the correct thing for lrint() (i.e. round to nearest even in halfway case). Regarding the SSE instruction sequence, I couldn't say that's my area of expertise, but I will try to get in touch with colleagues that can help with that.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
