Skip to content

Commit c25b7b0

Browse files
committed
comment approx accelerators
1 parent b6b1013 commit c25b7b0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

growlibm/accelerators.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,22 @@ double cos_quotient_xy(double x, double y) {
4848
return fma(cos_p, cos_q, -sin_p * sin_q);
4949
}
5050

51-
double approx_sin_xy(double x, double y) {
52-
double p = x * y;
53-
double q = fma(x, y, -p);
51+
// double approx_sin_xy(double x, double y) {
52+
// double p = x * y;
53+
// double q = fma(x, y, -p);
5454

55-
double sin_p, cos_p;
56-
__sincos(p, &sin_p, &cos_p);
55+
// double sin_p, cos_p;
56+
// __sincos(p, &sin_p, &cos_p);
5757

58-
return fma(sin_p, 1, cos_p);
59-
}
58+
// return fma(sin_p, 1, cos_p);
59+
// }
6060

61-
double approx_cos_xy(double x, double y) {
62-
double p = x * y;
63-
double q = fma(x, y, -p);
61+
// double approx_cos_xy(double x, double y) {
62+
// double p = x * y;
63+
// double q = fma(x, y, -p);
6464

65-
double sin_p, cos_p;
66-
__sincos(p, &sin_p, &cos_p);
65+
// double sin_p, cos_p;
66+
// __sincos(p, &sin_p, &cos_p);
6767

68-
return fma(cos_p, 1, -sin_p);
69-
}
68+
// return fma(cos_p, 1, -sin_p);
69+
// }

0 commit comments

Comments
 (0)