Enable cospi,rsqrt,sinpi tests for HCC newer than 16073

このコミットが含まれているのは:
Maneesh Gupta
2016-02-22 15:00:53 +05:30
コミット c5c11d3707
4個のファイルの変更36行の追加12行の削除
+9 -3
ファイルの表示
@@ -42,7 +42,9 @@ __host__ void single_precision_math_functions()
copysignf(1.0f, -2.0f);
cosf(0.0f);
coshf(0.0f);
//cospif(0.0f);
#if __hcc_workweek__ >= 16073
cospif(0.0f);
#endif
//cyl_bessel_i0f(0.0f);
//cyl_bessel_i1f(0.0f);
erfcf(0.0f);
@@ -101,7 +103,9 @@ __host__ void single_precision_math_functions()
//rnorm4df(0.0f, 0.0f, 0.0f, 1.0f);
//fX = 1.0f; rnormf(1, &fX);
roundf(0.0f);
//rsqrtf(1.0f);
#if __hcc_workweek__ >= 16073
rsqrtf(1.0f);
#endif
///scalblnf(0.0f, 1);
scalbnf(0.0f, 1);
signbit(1.0f);
@@ -109,7 +113,9 @@ __host__ void single_precision_math_functions()
//sincospif(0.0f, &fX, &fY);
sinf(0.0f);
sinhf(0.0f);
//sinpif(0.0f);
#if __hcc_workweek__ >= 16073
sinpif(0.0f);
#endif
sqrtf(0.0f);
tanf(0.0f);
tanhf(0.0f);