We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c5efec commit 9aa69ccCopy full SHA for 9aa69cc
src/_limits.js
@@ -2,4 +2,4 @@
2
export const MAX_NUMBER = Math.pow(2,53) - 1 ;
3
export const MIN_NUMBER = -Math.pow(2,53) ;
4
export const MIN_BASE = 2 ;
5
-export const MAX_BASE = Math.ceil(Math.sqrt(Math.pow(2,53))) ;
+export const MAX_BASE = Math.ceil(Math.sqrt(MAX_NUMBER+1)) | 0;
0 commit comments