-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
purescript-prelude/src/Data/Bounded.js
Lines 1 to 2 in f4cad0a
export const topInt = 2147483647; | |
export const bottomInt = -2147483648; |
The bottom and top values for Int
are listed as above. The problem here is that -bottom
is greater than top
, which means bottom
is actually not a safe value for the Ring
instance of Int
. You can verify for yourself that negate bottom == bottom
!
Metadata
Metadata
Assignees
Labels
No labels