projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee41b6e
)
old systems may not have inf in math.h
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sun, 3 Jul 2022 16:23:51 +0000
(18:23 +0200)
committer
GitHub
<noreply@github.com>
Sun, 3 Jul 2022 16:23:51 +0000
(18:23 +0200)
utest/test_dnrm2.c
patch
|
blob
|
history
diff --git
a/utest/test_dnrm2.c
b/utest/test_dnrm2.c
index
f710431
..
6c76c47
100644
(file)
--- a/
utest/test_dnrm2.c
+++ b/
utest/test_dnrm2.c
@@
-33,6
+33,11
@@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "openblas_utest.h"
#if defined(BUILD_DOUBLE)
+
+#ifndef INFINITY
+#define INFINITY HUGE_VALF
+#endif
+
CTEST(dnrm2,dnrm2_inf)
{
double x[29];