diff --git a/core/core_constants.cpp b/core/core_constants.cpp
index dad1cc8955..7c6d99c1cc 100644
--- a/core/core_constants.cpp
+++ b/core/core_constants.cpp
@@ -734,6 +734,18 @@ void register_global_constants() {
BIND_CORE_BITFIELD_FLAG(METHOD_FLAG_VIRTUAL_REQUIRED);
BIND_CORE_BITFIELD_FLAG(METHOD_FLAGS_DEFAULT);
+ BIND_CORE_CONSTANT(UINT8_MAX);
+ BIND_CORE_CONSTANT(UINT16_MAX);
+ BIND_CORE_CONSTANT(UINT32_MAX);
+ BIND_CORE_CONSTANT(INT8_MIN);
+ BIND_CORE_CONSTANT(INT8_MAX);
+ BIND_CORE_CONSTANT(INT16_MIN);
+ BIND_CORE_CONSTANT(INT16_MAX);
+ BIND_CORE_CONSTANT(INT32_MIN);
+ BIND_CORE_CONSTANT(INT32_MAX);
+ BIND_CORE_CONSTANT(INT64_MIN);
+ BIND_CORE_CONSTANT(INT64_MAX);
+
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_NIL", Variant::NIL);
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_BOOL", Variant::BOOL);
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_INT", Variant::INT);
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index 7228446c76..dd9f8defbb 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -3126,6 +3126,39 @@
Default method flags (normal).
+
+ Maximum value of an 8-bit unsigned integer.
+
+
+ Maximum value of a 16-bit unsigned integer.
+
+
+ Maximum value of a 32-bit unsigned integer.
+
+
+ Minimum value of an 8-bit signed integer.
+
+
+ Maximum value of an 8-bit signed integer.
+
+
+ Minimum value of a 16-bit signed integer.
+
+
+ Maximum value of a 16-bit signed integer.
+
+
+ Minimum value of a 32-bit signed integer.
+
+
+ Maximum value of a 32-bit signed integer.
+
+
+ Minimum value of a 64-bit signed integer.
+
+
+ Maximum value of a 64-bit signed integer.
+
Variable is [code]null[/code].