mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 15:15:01 +00:00
Fix a harmless type error in 1.9.
This commit is contained in:
parent
02d23fdd74
commit
fc84b771b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175665
|
@ -73,7 +73,7 @@ __kernel_cos(double x, double y)
|
||||||
|
|
||||||
z = x*x;
|
z = x*x;
|
||||||
r = z*(C1+z*(C2+z*(C3+z*(C4+z*(C5+z*C6)))));
|
r = z*(C1+z*(C2+z*(C3+z*(C4+z*(C5+z*C6)))));
|
||||||
hz = (float)0.5*z;
|
hz = 0.5*z;
|
||||||
w = one-hz;
|
w = one-hz;
|
||||||
return w + (((one-w)-hz) + (z*r-x*y));
|
return w + (((one-w)-hz) + (z*r-x*y));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue