From f588c2d4bb2d9cb5f2ae5f4f50a7eaf60f80aff6 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 3 Feb 2010 15:56:24 +0100 Subject: add gethostid() testcase Signed-off-by: Bernhard Reutner-Fischer --- test/inet/gethostid.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/inet/gethostid.c (limited to 'test') diff --git a/test/inet/gethostid.c b/test/inet/gethostid.c new file mode 100644 index 000000000..295166536 --- /dev/null +++ b/test/inet/gethostid.c @@ -0,0 +1,6 @@ +#include +#include +int main(void) { + printf("hostid=%d\n", gethostid()); + return 0; +} -- cgit v1.2.3 From 306a7db8263c217b0e017f84241832f531449849 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Thu, 4 Feb 2010 09:26:08 -0800 Subject: libm: enable log2f and exp2f Signed-off-by: Aurelien Jacobs Signed-off-by: Austin Foxley --- test/math/compile_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/math/compile_test.c b/test/math/compile_test.c index 61488857a..ab8c40c48 100644 --- a/test/math/compile_test.c +++ b/test/math/compile_test.c @@ -18,7 +18,7 @@ r += cosf(float_x); r += coshf(float_x); r += erfcf(float_x); r += erff(float_x); -/*r += exp2f(float_x); - uclibc does not have it (yet?) */ +r += exp2f(float_x); r += expf(float_x); r += expm1f(float_x); r += fabsf(float_x); @@ -38,7 +38,7 @@ r += llrintf(float_x); r += llroundf(float_x); r += log10f(float_x); r += log1pf(float_x); -/*r += log2f(float_x); - uclibc does not have it (yet?) */ +r += log2f(float_x); r += logbf(float_x); r += logf(float_x); r += lrintf(float_x); -- cgit v1.2.3