| 1 |
// SPDX-License-Identifier: MPL-2.0 |
| 2 |
// (c) Hare authors <https://harelang.org> |
| 3 |
|
| 4 |
// Minimum value which can be stored in an int type. |
| 5 |
export def INT_MIN: int = I32_MIN; |
| 6 |
|
| 7 |
// Maximum value which can be stored in an int type. |
| 8 |
export def INT_MAX: int = I32_MAX; |
| 9 |
|
| 10 |
// Minimum value which can be stored in a uint type |
| 11 |
export def UINT_MIN: uint = U32_MIN; |
| 12 |
|
| 13 |
// Maximum value which can be stored in a uint type. |
| 14 |
export def UINT_MAX: uint = U32_MAX; |
| 15 |
|
| 16 |
// Minimum value which can be stored in a size type |
| 17 |
export def SIZE_MIN: size = U64_MIN; |
| 18 |
|
| 19 |
// Maximum value which can be stored in a size type. |
| 20 |
export def SIZE_MAX: size = U64_MAX; |
| 21 |
|
| 22 |
// Minimum value which can be stored in a uintptr type |
| 23 |
export def UINTPTR_MIN: uintptr = U64_MIN: uintptr; |
| 24 |
|
| 25 |
// Maximum value which can be stored in a uintptr type. |
| 26 |
export def UINTPTR_MAX: uintptr = U64_MAX: uintptr; |