On Tuesday, September 20, 2016 at 2:08:31 PM UTC+1, Joey Eremondi wrote:
>
> Both int and float end up as a JS number at the end of the day, so 
> definitely bounded. Defer to the JS spec?
>

http://www.w3schools.com/js/js_numbers.asp

Says "Javascript numbers are always 64-bit floating point". 

Which means a 52-bit mantissa, so ints are bit less than 64-bit... bit of a 
bugger as that means where I have used a 64-bit for an object id, I should 
really pass as a String and parse into a Data.Integer. Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to