- From: Boris Zbarsky <notifications@github.com>
- Date: Fri, 11 Nov 2016 12:18:16 -0800
- To: heycam/webidl <webidl@noreply.github.com>
Received on Friday, 11 November 2016 20:18:49 UTC
By "silent" I mean "not obvious to the spec writer". Clamping is very explicitly throwing away data, and knows it's doing it. > I wonder why the normal case takes things mod 2^64 at all Because that's the simple thing to do when you convert a double to a 64-bit integer in C/C++, is the honest explanation. ;) So that's what browsers did, etc. > but it seems like a shame there's no "don't modulo me" integer type. We're talking bigint here, right? There seem to be no real use cases, and implementing such things in a non-performance-sucky way is not trivial, so.... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/237#issuecomment-260046332
Received on Friday, 11 November 2016 20:18:49 UTC