Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed reciprocal test in math_brute_force #2162

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion test_conformance/math_brute_force/function_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ const Func functionList[] = {

ENTRY(pown, 16.0f, 16.0f, 4.0f, FTZ_OFF, binaryF_i),
ENTRY(powr, 16.0f, 16.0f, 4.0f, FTZ_OFF, binaryF),
//ENTRY(reciprocal, 1.0f, 1.0f, FTZ_OFF, unaryF),
ENTRY(remainder, 0.0f, 0.0f, 0.0f, FTZ_OFF, binaryF),
ENTRY(remquo, 0.0f, 0.0f, 0.0f, FTZ_OFF, binaryF_two_results_i),
ENTRY(rint, 0.0f, 0.0f, 0.0f, FTZ_OFF, unaryF),
Expand Down
9 changes: 1 addition & 8 deletions test_conformance/math_brute_force/reference_math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1854,10 +1854,6 @@ double reference_logb(double x)
return exponent - 127;
}

double reference_relaxed_reciprocal(double x) { return 1.0f / ((float)x); }

double reference_reciprocal(double x) { return 1.0 / x; }

double reference_remainder(double x, double y)
{
int i;
Expand Down Expand Up @@ -3740,9 +3736,6 @@ long double reference_nanl(cl_ulong x)
return (long double)u.f;
}


long double reference_reciprocall(long double x) { return 1.0L / x; }

long double reference_remainderl(long double x, long double y)
{
int i;
Expand Down Expand Up @@ -5771,4 +5764,4 @@ long double reference_erfcl(long double x) { return erfc(x); }
long double reference_erfl(long double x) { return erf(x); }

double reference_erfc(double x) { return erfc(x); }
double reference_erf(double x) { return erf(x); }
double reference_erf(double x) { return erf(x); }
3 changes: 0 additions & 3 deletions test_conformance/math_brute_force/reference_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ double reference_logb(double x);
double reference_maxmag(double x, double y);
double reference_minmag(double x, double y);
double reference_nan(cl_uint x);
double reference_reciprocal(double x);
double reference_remainder(double x, double y);
double reference_rint(double x);
double reference_round(double x);
Expand Down Expand Up @@ -136,7 +135,6 @@ double reference_relaxed_log(double x);
double reference_relaxed_log2(double x);
double reference_relaxed_log10(double x);
double reference_relaxed_pow(double x, double y);
double reference_relaxed_reciprocal(double x);

// -- for testing double --

Expand Down Expand Up @@ -223,7 +221,6 @@ long double reference_logbl(long double x);
long double reference_maxmagl(long double x, long double y);
long double reference_minmagl(long double x, long double y);
long double reference_nanl(cl_ulong x);
long double reference_reciprocall(long double x);
long double reference_remainderl(long double x, long double y);
long double reference_rintl(long double x);
long double reference_roundl(long double x);
Expand Down
Loading