sync with OpenBSD -current

This commit is contained in:
purplerain 2024-05-03 17:35:01 +00:00
parent 7768d1f254
commit c9341f2e4a
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
65 changed files with 2158 additions and 1228 deletions

View file

@ -72,12 +72,14 @@ sincosl(long double x, long double *sn, long double *cs)
*cs = 1;
} else
__kernel_sincosl(x, 0, 0, sn, cs);
return;
}
/* If x = NaN or Inf, then sin(x) and cos(x) are NaN. */
if (z.bits.ext_exp == 32767) {
*sn = x - x;
*cs = x - x;
return;
}
/* Split z.e into a 24-bit representation. */