From 545e51be154967ab3e8d82fff5f7c25487076e72 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 23 Jan 2003 16:28:10 +0000 Subject: Update tests to be somewhat consistant with the rest of the world --- test/math/rint.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/math/rint.c (limited to 'test/math/rint.c') diff --git a/test/math/rint.c b/test/math/rint.c new file mode 100644 index 000000000..399fb90e3 --- /dev/null +++ b/test/math/rint.c @@ -0,0 +1,11 @@ +#include +#include +#include + +int main(void) { + double d1, d2; + d1 = 0.6; d2 = rint(d1); + printf("d1 = %f, d2 = %f\n", d1, d2); + return 0; +} + -- cgit v1.2.3