fix reciprocal test

This commit is contained in:
Christophe 2020-11-24 12:12:33 +01:00
parent 23dcea8995
commit da542d6354

View File

@ -118,8 +118,8 @@ static int test_acsch()
{
int Error = 0;
Error += glm::acsch(0.0001) > 10000.0, 0.01 ? 0 : 1;
Error += glm::acsch(-0.0001) < -10000.0, 0.01 ? 0 : 1;
Error += glm::acsch(0.0001) > 10000.0 ? 0 : 1;
Error += glm::acsch(-0.0001) < -10000.0 ? 0 : 1;
Error += glm::equal(glm::acsch(100.0), 0.0, 0.01) ? 0 : 1;
Error += glm::equal(glm::acsch(-100.0), 0.0, 0.01) ? 0 : 1;