From ba2b6d5a249ffb00a4dee1263cca5fc4bb134bce Mon Sep 17 00:00:00 2001 From: Grzegorz Wawiorko <35483345+gwawiork@users.noreply.github.com> Date: Mon, 17 Jun 2019 13:54:50 +0200 Subject: [PATCH] Intel compiler changes compat.h (#316) --- test_common/harness/compat.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_common/harness/compat.h b/test_common/harness/compat.h index 1fcc661d..1ec8c7d1 100644 --- a/test_common/harness/compat.h +++ b/test_common/harness/compat.h @@ -127,8 +127,6 @@ typedef long long int64_t; #define M_PI 3.14159265358979323846264338327950288 #endif - #if ! defined( __INTEL_COMPILER ) - #ifndef NAN #define NAN (INFINITY - INFINITY) #endif @@ -148,6 +146,7 @@ typedef long long int64_t; #define isinf( _x) ((_x) == INFINITY || (_x) == -INFINITY) #endif + #if ! defined( __INTEL_COMPILER ) double rint( double x); float rintf( float x); long double rintl( long double x);