aboutsummaryrefslogtreecommitdiff
path: root/math/tgmath.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-26 01:42:51 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-26 01:42:51 +0000
commitdeea1b2970f69d3fc283eaad1eb615ffc7e1166f (patch)
tree9df80bb6609b38337547c21169e654ed97cee933 /math/tgmath.h
parent4f2689f478551b5d6facb9923ab37abbca3055e7 (diff)
downloadglibc-deea1b2970f69d3fc283eaad1eb615ffc7e1166f.tar
glibc-deea1b2970f69d3fc283eaad1eb615ffc7e1166f.tar.gz
glibc-deea1b2970f69d3fc283eaad1eb615ffc7e1166f.tar.bz2
glibc-deea1b2970f69d3fc283eaad1eb615ffc7e1166f.zip
Update.
* math/tgmath.h: Pretty printing.
Diffstat (limited to 'math/tgmath.h')
-rw-r--r--math/tgmath.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/tgmath.h b/math/tgmath.h
index 1f19b14058..286ea56df0 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -41,16 +41,16 @@
/* 1 if 'type' is a floating type, 0 if 'type' is an integer type.
Allows for _Bool. Expands to an integer constant expression. */
-#define __floating_type(type) (((type) 0.25) && ((type) 0.25 - 1))
+# define __floating_type(type) (((type) 0.25) && ((type) 0.25 - 1))
/* The tgmath real type for T, where E is 0 if T is an integer type and
1 for a floating type. */
-#define __tgmath_real_type_sub(T, E) \
- __typeof__(*(0 ? (__typeof__(0 ? (double *)0 : (void *)(E)))0 \
- : (__typeof__(0 ? (T *)0 : (void *)(!(E))))0))
+# define __tgmath_real_type_sub(T, E) \
+ __typeof__(*(0 ? (__typeof__ (0 ? (double *) 0 : (void *) (E))) 0 \
+ : (__typeof__ (0 ? (T *) 0 : (void *) (!(E)))) 0))
/* The tgmath real type of EXPR. */
-#define __tgmath_real_type(expr) \
+# define __tgmath_real_type(expr) \
__tgmath_real_type_sub(__typeof__(expr), __floating_type(__typeof__(expr)))