fix bug in pico_float_test (#817)

This commit is contained in:
Graham Sanderson 2022-05-10 12:58:55 -05:00 committed by GitHub
parent f260477802
commit 9c616da1e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,7 @@ int main() {
printf("FMODF %10.18f\n", check_close2(fmodf, x, 3.0f)); printf("FMODF %10.18f\n", check_close2(fmodf, x, 3.0f));
sincosf(x, &s, &c); sincosf(x, &s, &c);
printf("SINCOS %10.18f %10.18f\n", s, c); printf("SINCOS %10.18f %10.18f\n", s, c);
if (s != sin(x) || c != cos(x)) { if (s != sinf(x) || c != cosf(x)) {
printf("SINCOS mismatch\n"); printf("SINCOS mismatch\n");
fail = true; fail = true;
} }