forked from amazingfate/loongoffice
This reverts commit 46e53c0360a38f620cf8c86fd0a3dc46c8238e0e. Reason for revert: intermittent failure was due to a missing fix in etonyek Change-Id: I1ddaafc821cd494092ab66309386464c6e2c33c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88118 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
12 lines
287 B
Plaintext
12 lines
287 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;
|
|
}
|
|
|