Re: ISSUE-37: [Progress] Use unsigned long long for .loaded and .total

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.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Friday, 11 July 2008 00:11:32 UTC