Browse Source

old systems may not have inf in math.h

tags/v0.3.21
Martin Kroeker GitHub 3 years ago
parent
commit
af88494f87
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      utest/test_dnrm2.c

+ 5
- 0
utest/test_dnrm2.c View File

@@ -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];


Loading…
Cancel
Save