From e2c13c00f7092efdc80e2b78718e7f2535b04154 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 16 Jan 2021 14:14:51 +0100 Subject: [PATCH] Document that PoolRealArray stores 32-bit floats This closes #45230. --- doc/classes/PoolRealArray.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/PoolRealArray.xml b/doc/classes/PoolRealArray.xml index b70ddc05e6e..eb4db43f565 100644 --- a/doc/classes/PoolRealArray.xml +++ b/doc/classes/PoolRealArray.xml @@ -4,8 +4,9 @@ A pooled [Array] of reals ([float]). - An [Array] specifically designed to hold floating-point values ([float]). Optimized for memory usage, does not fragment the memory. + An [Array] specifically designed to hold floating-point values. 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] Unlike primitive [float]s which are 64-bit, numbers stored in [PoolRealArray] are 32-bit floats. This means values stored in [PoolRealArray] have lower precision compared to primitive [float]s.