mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 01:58:21 +02:00
🐛 Fix safe number max values
This commit is contained in:
parent
c69f6da2d7
commit
cf68a9cf1e
1 changed files with 4 additions and 2 deletions
|
@ -29,8 +29,10 @@
|
|||
(def uuid-rx
|
||||
#"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$")
|
||||
|
||||
(def max-safe-int (int 1e6))
|
||||
(def min-safe-int (int -1e6))
|
||||
;; Integer/MAX_VALUE
|
||||
(def max-safe-int 2147483647)
|
||||
;; Integer/MIN_VALUE
|
||||
(def min-safe-int -2147483648)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; DEFAULT SPECS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue