- From: Maciej Stachowiak <mjs@apple.com>
- Date: Thu, 10 Jul 2008 17:19:01 -0700
- To: Cameron McCormack <cam@mcc.id.au>
- Cc: Web Applications Working Group WG <public-webapps@w3.org>
On Jul 10, 2008, at 5:10 PM, Cameron McCormack wrote: > > Sam Weinig: >> This seems somewhat problematic for JavaScript bindings, which use >> doubles to represent numbers. I don't believe it is possible to >> represent an unsigned long long (making the assumption that means >> it is a >> 64 bit integer) in a double. > > Right. Currently I have Web IDL say that the closest value > representable with a Number should be used: > > http://dev.w3.org/2006/webapi/WebIDL/#es-unsigned-long-long > > That is for values >= 2**53. Whether that’s a useful definition or > something else should be done, I’m not sure. 53 bits is better than 32, in any case. Regards, Maciej
Received on Friday, 11 July 2008 00:19:42 UTC