Searched refs:rational_function (Results 1 – 1 of 1) sorted by relevance
| /external/mesa3d/src/gallium/state_trackers/vega/ |
| D | arc.c | 414 static INLINE double rational_function(double x, const double *c) in rational_function() function 437 c0 = rational_function(x, coeffs[0][0]) in estimate_error() 438 + cos2 * rational_function(x, coeffs[0][1]) in estimate_error() 439 + cos4 * rational_function(x, coeffs[0][2]) in estimate_error() 440 + cos6 * rational_function(x, coeffs[0][3]); in estimate_error() 442 c1 = rational_function(x, coeffs[1][0]) in estimate_error() 443 + cos2 * rational_function(x, coeffs[1][1]) in estimate_error() 444 + cos4 * rational_function(x, coeffs[1][2]) in estimate_error() 445 + cos6 * rational_function(x, coeffs[1][3]); in estimate_error() 447 return rational_function(x, safety) * arc->a * exp(c0 + c1 * dEta); in estimate_error()
|