about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/mydefs.h
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-10-17 16:03:24 +0200
committerOndřej Bílka <neleai@seznam.cz>2013-10-17 16:03:24 +0200
commitc5d5d574cbfa96d0f6c1db24d1e072c472627e41 (patch)
tree83b97e29ee65636dfe1247ea8d2344ca3f0b04b4 /sysdeps/ieee754/dbl-64/mydefs.h
parente5c2c2d0c0315ca24cc9cd638cdb1a2d8dcc4b0d (diff)
downloadglibc-c5d5d574cbfa96d0f6c1db24d1e072c472627e41.tar.gz
glibc-c5d5d574cbfa96d0f6c1db24d1e072c472627e41.tar.xz
glibc-c5d5d574cbfa96d0f6c1db24d1e072c472627e41.zip
Format floating routines.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mydefs.h')
-rw-r--r--sysdeps/ieee754/dbl-64/mydefs.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/ieee754/dbl-64/mydefs.h b/sysdeps/ieee754/dbl-64/mydefs.h
index 89ca965c6a..a430397c67 100644
--- a/sysdeps/ieee754/dbl-64/mydefs.h
+++ b/sysdeps/ieee754/dbl-64/mydefs.h
@@ -28,10 +28,9 @@
 #define MY_H
 
 typedef int int4;
-typedef union {int4 i[2]; double x;} mynumber;
-
-#define ABS(x)   (((x)>0)?(x):-(x))
-#define max(x,y)  (((y)>(x))?(y):(x))
-#define min(x,y)  (((y)<(x))?(y):(x))
+typedef union { int4 i[2]; double x; } mynumber;
 
+#define ABS(x)   (((x) > 0) ? (x) : -(x))
+#define max(x, y)  (((y) > (x)) ? (y) : (x))
+#define min(x, y)  (((y) < (x)) ? (y) : (x))
 #endif