chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1114d8
)
test-sizeof: another aproach to _Float128 availability detection
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 20 Jun 2018 10:38:36 +0000
(12:38 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000
(16:47 +0200)
src/test/test-sizeof.c
patch
|
blob
|
history
diff --git
a/src/test/test-sizeof.c
b/src/test/test-sizeof.c
index 06711753f3415c6f955b7e7a00b8a899cf908332..bd010c50d4ad7b04df63505f0447409e19592818 100644
(file)
--- a/
src/test/test-sizeof.c
+++ b/
src/test/test-sizeof.c
@@
-3,6
+3,9
@@
#include <stdio.h>
#include <string.h>
+#define __STDC_WANT_IEC_60559_TYPES_EXT__
+//#include <float.h>
+
#include "time-util.h"
/* Print information about various types. Useful when diagnosing
@@
-46,7
+49,7
@@
int main(void) {
info(double);
info(long double);
-#ifdef
__HAVE_DISTINCT_FLOAT128
X
+#ifdef
FLT128_MA
X
info(_Float128);
info(_Float64);
info(_Float64x);