Home
last modified time | relevance | path

Searched refs:x2_x (Results 1 – 1 of 1) sorted by relevance

/PHP-7.2/ext/gd/libgd/
H A Dgd_interpolation.c390 const double x2_x = x2 * x; in filter_cubic_convolution() local
392 if (x <= 1.0) return ((4.0 / 3.0)* x2_x - (7.0 / 3.0) * x2 + 1.0); in filter_cubic_convolution()
393 if (x <= 2.0) return (- (7.0 / 12.0) * x2_x + 3 * x2 - (59.0 / 12.0) * x + 2.5); in filter_cubic_convolution()
394 if (x <= 3.0) return ( (1.0/12.0) * x2_x - (2.0 / 3.0) * x2 + 1.75 * x - 1.5); in filter_cubic_convolution()

Completed in 16 milliseconds