4fdcdd50d72a1317dbab9f75738e5bb9ccd30634 |
|
05-May-2015 |
Pyry Haulos <phaulos@google.com> |
Relax builtin precision tests, fix issue in div rounding * sin(), cos() and derived: Use |x| * 2^-10 for mediump inputs outside of range [-pi,pi]. * asin(), acos(), and atan(): Use 4096 ULP for highp (from OpenCL's fast relaxed math). * modf(): allow any value, including NaN, as fractional if Inf support is not mandated for the precision (lowp and mediump). * atan(y, x): allow any value if y or x is Inf and no Inf support is mandated for the precision. * div (and derived): allow rounding of -/+inf to -/+maxval when both inputs are ordinary and denominator is not 0 (legal in RTZ mode). Bug: 20453754 Bug: 18323265 Change-Id: I8e2fad8909e29993e961d66a175963071ea2e5a8
/external/deqp/framework/common/tcuFloatFormat.cpp
|