old systems may not have inf in math.h

This commit is contained in:
Martin Kroeker
2022-07-03 18:23:51 +02:00
committed by GitHub
parent ee41b6eb24
commit af88494f87

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