summaryrefslogtreecommitdiff
path: root/indra/llmath/tests/mathmisc_test.cpp
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-12-12 09:31:01 -0800
committercallum_linden <none@none>2014-12-12 09:31:01 -0800
commitea5c8563351233105e1c9536353f0d6e6a4a3bf7 (patch)
treef63884ced6db2edc28b9296240d8ee9e9014c35b /indra/llmath/tests/mathmisc_test.cpp
parent97eb74adc297507695158afbbbdb509b8c91c1af (diff)
parentddf0f7a915941aa6679e4192bcd38033706c57ea (diff)
Merge with head
Diffstat (limited to 'indra/llmath/tests/mathmisc_test.cpp')
-rwxr-xr-xindra/llmath/tests/mathmisc_test.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/llmath/tests/mathmisc_test.cpp b/indra/llmath/tests/mathmisc_test.cpp
index 91a2e6c009..b5998f7a82 100755
--- a/indra/llmath/tests/mathmisc_test.cpp
+++ b/indra/llmath/tests/mathmisc_test.cpp
@@ -139,22 +139,22 @@ namespace tut
void math_object::test<9>()
{
F32 val = 430905.2654f, nearest = 100.f;
- val = llround(val, nearest);
- ensure("float llround value 1", (430900 == val));
+ val = ll_round(val, nearest);
+ ensure("float ll_round value 1", (430900 == val));
val = -430905.2654f, nearest = 10.f;
- val = llround(val, nearest);
- ensure("float llround value 1", (-430910 == val));
+ val = ll_round(val, nearest);
+ ensure("float ll_round value 1", (-430910 == val));
}
template<> template<>
void math_object::test<10>()
{
F64 val = 430905.2654, nearest = 100.0;
- val = llround(val, nearest);
- ensure("double llround value 1", (430900 == val));
+ val = ll_round(val, nearest);
+ ensure("double ll_round value 1", (430900 == val));
val = -430905.2654, nearest = 10.0;
- val = llround(val, nearest);
- ensure("double llround value 1", (-430910.00000 == val));
+ val = ll_round(val, nearest);
+ ensure("double ll_round value 1", (-430910.00000 == val));
}
template<> template<>