aboutsummaryrefslogtreecommitdiff
path: root/math/test-tgmath.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-tgmath.c')
-rw-r--r--math/test-tgmath.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/math/test-tgmath.c b/math/test-tgmath.c
index 14f4fe4e01..6e3049e731 100644
--- a/math/test-tgmath.c
+++ b/math/test-tgmath.c
@@ -48,7 +48,7 @@ volatile int count_cdouble;
volatile int count_cfloat;
volatile int count_cldouble;
-#define NCALLS 170
+#define NCALLS 172
#define NCALLS_INT 4
#define NCCALLS 47
@@ -235,6 +235,7 @@ F(compile_test) (void)
a = cospi (cospi (x));
b = acos (acos (a));
a = sin (sin (x));
+ b = sinpi (sinpi (x));
b = asin (asin (a));
a = tan (tan (x));
b = atan (atan (a));
@@ -354,6 +355,7 @@ F(compile_test) (void)
a = cospi (y);
a = acos (y);
a = sin (y);
+ a = sinpi (y);
a = asin (y);
a = tan (y);
a = atan (y);
@@ -494,6 +496,14 @@ TYPE
}
TYPE
+(F(sinpi)) (TYPE x)
+{
+ ++count;
+ P ();
+ return x;
+}
+
+TYPE
(F(asin)) (TYPE x)
{
++count;