A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sizeof(double) == 8 && sizeof(float)==4 || pas IEEE
[simgrid.git]
/
acmacro
/
gras_arch.m4
diff --git
a/acmacro/gras_arch.m4
b/acmacro/gras_arch.m4
index
cafccb9
..
8e76168
100644
(file)
--- a/
acmacro/gras_arch.m4
+++ b/
acmacro/gras_arch.m4
@@
-103,6
+103,9
@@
union {
unsigned char bytes[sizeof(float)];
} floatTester;
],[
+if (sizeof(double) != 8 || sizeof(float) != 4)
+ return 1;
+
memset(&doubleTester, 0, sizeof(doubleTester));
memset(&floatTester, 0, sizeof(floatTester));