projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hash: relax license to LGPLv2+, for libguestfs
[gnulib.git]
/
tests
/
test-ceil2.c
diff --git
a/tests/test-ceil2.c
b/tests/test-ceil2.c
index
3cc6767
..
5899145
100644
(file)
--- a/
tests/test-ceil2.c
+++ b/
tests/test-ceil2.c
@@
-1,5
+1,5
@@
/* Test of rounding towards positive infinity.
/* Test of rounding towards positive infinity.
- Copyright (C) 2007-201
1
Free Software Foundation, Inc.
+ Copyright (C) 2007-201
3
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-32,6
+32,12
@@
#include "minus-zero.h"
#include "macros.h"
#include "minus-zero.h"
#include "macros.h"
+/* MSVC with option -fp:strict refuses to compile constant initializers that
+ contain floating-point operations. Pacify this compiler. */
+#ifdef _MSC_VER
+# pragma fenv_access (off)
+#endif
+
/* The reference implementation, taken from lib/ceil.c. */
/* The reference implementation, taken from lib/ceil.c. */