forked from amazingfate/loongoffice
Change-Id: I39ca17984cc03de815386343b2f4c4fffd5c861e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123891 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
12 lines
295 B
Plaintext
12 lines
295 B
Plaintext
--- glm/detail/type_half.inl
|
|
+++ glm/detail/type_half.inl
|
|
@@ -6,7 +6,7 @@
|
|
volatile float f = 1e10;
|
|
|
|
for(int i = 0; i < 10; ++i)
|
|
- f *= f; // this will overflow before the for loop terminates
|
|
+ f = f * f; // this will overflow before the for loop terminates
|
|
return f;
|
|
}
|
|
|