summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-01-27 15:31:53 -0800
committerKenneth Graunke <[email protected]>2016-01-27 15:34:50 -0800
commit32e4c5ae30240c6759257ef68e80055f4cf8d612 (patch)
tree64734113e009dc48bd857ae42902b60fb6a2e61f /.gitignore
parent8f0ef9bbeb2932209f4bdc408f79c2313bd6ba51 (diff)
vtn: Make tanh implementation even stupider
The dEQP "precision" test tries to verify that the reference functions float sinh(float a) { return ((exp(a) - exp(-a)) / 2); } float cosh(float a) { return ((exp(a) + exp(-a)) / 2); } float tanh(float a) { return (sinh(a) / cosh(a)); } produce the same values as the built-ins. We simplified away the multiplication by 0.5 in the numerator and denominator, and apparently this causes them not to match for exactly 1 out of 13,632 values. So, put it back in, fixing the test, but making our code generation (and precision?) worse.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions