From f1debaf68214cb898f67355ee83169cc135e14e9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 May 2004 02:14:18 +0000 Subject: Update. 2004-05-06 Ulrich Drepper * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL. (carg): Likewise. Patch by Lev S Bishop . * math/bug-tgmath1.c (main): Test fabs and carg as well. 2004-05-06 Richard Henderson * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. * sysdeps/unix/sysv/linux/alpha/Versions: Export __libc_alpha_cache_shape as a private symbol. * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file. * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file. * sysdeps/alpha/divl.S: Use them. * sysdeps/alpha/divq.S: Likewise. * sysdeps/alpha/divqu.S: Likewise. * sysdeps/alpha/reml.S: Likewise. * sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/remqu.S: Likewise. --- math/bug-tgmath1.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'math/bug-tgmath1.c') diff --git a/math/bug-tgmath1.c b/math/bug-tgmath1.c index 8a457fa252..16db9d17a1 100644 --- a/math/bug-tgmath1.c +++ b/math/bug-tgmath1.c @@ -29,5 +29,19 @@ main (void) TEST (cimag (1.0f), sizeof (float)); TEST (cimag (1.0f + 1.0fi), sizeof (float)); + TEST (fabs (1.0), sizeof (double)); + TEST (fabs (1.0 + 1.0i), sizeof (double)); + TEST (fabs (1.0l), sizeof (long double)); + TEST (fabs (1.0l + 1.0li), sizeof (long double)); + TEST (fabs (1.0f), sizeof (float)); + TEST (fabs (1.0f + 1.0fi), sizeof (float)); + + TEST (carg (1.0), sizeof (double)); + TEST (carg (1.0 + 1.0i), sizeof (double)); + TEST (carg (1.0l), sizeof (long double)); + TEST (carg (1.0l + 1.0li), sizeof (long double)); + TEST (carg (1.0f), sizeof (float)); + TEST (carg (1.0f + 1.0fi), sizeof (float)); + return retval; } -- cgit v1.2.3