Mention 32-bit integer limit in the PoolIntArray documentation
This commit is contained in:
parent
77e8947687
commit
cb3676726b
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
<description>
|
<description>
|
||||||
An [Array] specifically designed to hold integer values ([int]). Optimized for memory usage, does not fragment the memory.
|
An [Array] specifically designed to hold integer values ([int]). Optimized for memory usage, does not fragment the memory.
|
||||||
[b]Note:[/b] This type is passed by value and not by reference.
|
[b]Note:[/b] This type is passed by value and not by reference.
|
||||||
|
[b]Note:[/b] This type is limited to signed 32-bit integers, which means it can only take values in the interval [code][-2^31, 2^31 - 1][/code], i.e. [code][-2147483648, 2147483647][/code]. Exceeding those bounds will wrap around. In comparison, [int] uses signed 64-bit integers which can hold much larger values.
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Vector used for 2D math.
|
Vector used for 2D math.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
2-element structure that can be used to represent positions in 2d space or any other pair of numeric values.
|
2-element structure that can be used to represent positions in 2D space or any other pair of numeric values.
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
<link>https://docs.godotengine.org/en/latest/tutorials/math/index.html</link>
|
<link>https://docs.godotengine.org/en/latest/tutorials/math/index.html</link>
|
||||||
|
|
Loading…
Reference in a new issue