From 6d89337257b6f3ec0b300e13c1322f5171d966af Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 24 Dec 2018 15:02:20 +0100 Subject: Fix/cleanup typos and such in UI messages (and some comments). --- tests/gtests/blenlib/BLI_math_base_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/gtests') diff --git a/tests/gtests/blenlib/BLI_math_base_test.cc b/tests/gtests/blenlib/BLI_math_base_test.cc index 0059eb54482..d8c01459179 100644 --- a/tests/gtests/blenlib/BLI_math_base_test.cc +++ b/tests/gtests/blenlib/BLI_math_base_test.cc @@ -76,7 +76,7 @@ TEST(math_base, CompareFFRelativeZero) /* Note: in theory, this should return false, since 0.0f and -0.0f have 0x80000000 diff, - * but overflow in substraction seems to break something here + * but overflow in subtraction seems to break something here * (abs(*(int *)&fn0 - *(int *)&f0) == 0x80000000 == fn0), probably because int32 cannot hold this abs value. * this is yet another illustration of why one shall never use (near-)zero floats in pure-ULP comparison. */ // EXPECT_FALSE(compare_ff_relative(fn0, f0, -1.0f, 1024)); -- cgit v1.2.3