mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 02:04:35 +00:00
fix reciprocal test
This commit is contained in:
parent
23dcea8995
commit
da542d6354
@ -118,8 +118,8 @@ static int test_acsch()
|
|||||||
{
|
{
|
||||||
int Error = 0;
|
int Error = 0;
|
||||||
|
|
||||||
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.01 ? 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;
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user