fix reciprocal test

master
Christophe ago%!(EXTRA string=4 years)
parent da542d6354
commit c31b5aecaa
  1. 4
      test/ext/ext_vector_reciprocal.cpp

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

Loading…
Cancel
Save