Age | Commit message (Collapse) | Author |
|
If we want to properly test the computation is in double precision,
we should be using a much smaller error than the one used for the
single precision tests.
|
|
Also add double template variants and use already defined delta
assert macro.
|
|
Since the math is doing subtraction on numbers around 360 and single
precision has about ~7 decimal digits of accuracy we can only
compare numbers to 360.0001 to be safe i'll use 1e-3.
|
|
I can't reproduce any precision issues on my machine so this
is only a guess.
|
|
This should fix debian build.
Its seems the precision that debian is using is rounding the
error delta to zero so that the actual error is not less than
this.
|
|
Instead of defining a new variable constant pi we use M_PI.
|
|
|
|
|