mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
fix bug in pico_float_test (#817)
This commit is contained in:
parent
f260477802
commit
9c616da1e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue