From ed9a61c582c12c57bbc62bf77b2a170369143f73 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sun, 11 Aug 2019 17:03:08 +0100 Subject: [PATCH] fix test_sincos for doubles --- test/test_sincos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_sincos.c b/test/test_sincos.c index 8829306..5f26e33 100644 --- a/test/test_sincos.c +++ b/test/test_sincos.c @@ -25,10 +25,10 @@ int main() { __sincosf( xf, &sf, &cf ); printf( "__sincosf(%f) = %f %f\n", xf, sf, cf ); - double xd, fd, cd; + double xd, sd, cd; xd = 0.9; - __sincos( xd, &fd, &cd ); - printf( "__sincos(%f) = %f %f\n", xf, sf, cf ); + __sincos( xd, &sd, &cd ); + printf( "__sincos(%f) = %f %f\n", xd, sd, cd ); return 0; }