From 9c616da1e567c94f2bc2591fc7a88624e140afb3 Mon Sep 17 00:00:00 2001 From: Graham Sanderson Date: Tue, 10 May 2022 12:58:55 -0500 Subject: [PATCH] fix bug in pico_float_test (#817) --- test/pico_float_test/pico_float_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pico_float_test/pico_float_test.c b/test/pico_float_test/pico_float_test.c index 5da23d2..73dfbc3 100644 --- a/test/pico_float_test/pico_float_test.c +++ b/test/pico_float_test/pico_float_test.c @@ -403,7 +403,7 @@ int main() { printf("FMODF %10.18f\n", check_close2(fmodf, x, 3.0f)); sincosf(x, &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"); fail = true; }