MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / getMaximumJavascriptInt

Function getMaximumJavascriptInt

code/main/Algo.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9 // Return the maximum value a javascript Number can get before loosing precision
10 export function getMaximumJavascriptInt(): number{
11 return 9007199254740992; // 2^53
12 }
13
14 // Return a Pos object corresponding to a direction
15 // x and y values can be between -a and a, but they can't both be 0

Callers 1

numberToStringButNicelyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected