Skip to content

Commit

Permalink
[number] add HIGHEST_UINT32
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed May 2, 2023
1 parent 144b720 commit 4c259c5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions number.js
Expand Up @@ -11,14 +11,8 @@ export const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER
export const MIN_SAFE_INTEGER = Number.MIN_SAFE_INTEGER

export const LOWEST_INT32 = 1 << 31
/**
* @type {number}
*/
export const HIGHEST_INT32 = binary.BITS31

/**
* @module number
*/
export const HIGHEST_UINT32 = binary.BITS32

/* c8 ignore next */
export const isInteger = Number.isInteger || (num => typeof num === 'number' && isFinite(num) && math.floor(num) === num)
Expand Down

0 comments on commit 4c259c5

Please sign in to comment.