integer - Dave's Blog

My timeline on Mastodon

math - What is JavaScript's Max Int? What's the highest Integer value a Number can go to without losing precision? - Stack Overflow

2013 Feb 5, 11:23

In JavaScript numbers are 64bit floating point numbers which have 53 bits of mantissa. That means you can accurately represent [-2^53, 2^53] as integers in JavaScript. Aka [-9007199254740992, 9007199254740992].

PermalinkCommentsjavascript math integer technical programming

Matt Ball on Technology: Is 91 Prime?

2008 Mar 12, 1:57How to test if an integer is divisible by 2, 5, 3, 7, or 11. I knew about testing for divisibility by 3 but not why it worked.PermalinkCommentsblog math article prime
Older Entries Creative Commons License Some rights reserved.