mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 06:29:02 +00:00
Intel compiler changes compat.h (#316)
This commit is contained in:
committed by
Kévin Petit
parent
aa937ee347
commit
ba2b6d5a24
@@ -127,8 +127,6 @@ typedef long long int64_t;
|
|||||||
#define M_PI 3.14159265358979323846264338327950288
|
#define M_PI 3.14159265358979323846264338327950288
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ! defined( __INTEL_COMPILER )
|
|
||||||
|
|
||||||
#ifndef NAN
|
#ifndef NAN
|
||||||
#define NAN (INFINITY - INFINITY)
|
#define NAN (INFINITY - INFINITY)
|
||||||
#endif
|
#endif
|
||||||
@@ -148,6 +146,7 @@ typedef long long int64_t;
|
|||||||
#define isinf( _x) ((_x) == INFINITY || (_x) == -INFINITY)
|
#define isinf( _x) ((_x) == INFINITY || (_x) == -INFINITY)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ! defined( __INTEL_COMPILER )
|
||||||
double rint( double x);
|
double rint( double x);
|
||||||
float rintf( float x);
|
float rintf( float x);
|
||||||
long double rintl( long double x);
|
long double rintl( long double x);
|
||||||
|
|||||||
Reference in New Issue
Block a user