projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utimens-tests: avoid unnecessary 'inline'
[gnulib.git]
/
tests
/
test-floorf2.c
diff --git
a/tests/test-floorf2.c
b/tests/test-floorf2.c
index
b7f18a8
..
beaf70b
100644
(file)
--- a/
tests/test-floorf2.c
+++ b/
tests/test-floorf2.c
@@
-1,5
+1,5
@@
/* Test of rounding towards negative infinity.
/* Test of rounding towards negative infinity.
- Copyright (C) 2007-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2007-201
2
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
@@
-31,6
+31,12
@@
#include "isnanf-nolibm.h"
#include "macros.h"
#include "isnanf-nolibm.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/floor.c. */
/* The reference implementation, taken from lib/floor.c. */