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 c0d30de..c1cd3fc 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 192
+#define NCALLS 194
#define NCALLS_INT 4
#define NCCALLS 47
@@ -270,6 +270,7 @@ F(compile_test) (void)
a = pow (pow (x, a), pow (c, b));
b = pown (pown (x, k), k);
b = compoundn (compoundn (x, k), k);
+ b = rootn (rootn (x, k), k);
a = powr (powr (x, a), powr (c, b));
b = sqrt (sqrt (a));
a = rsqrt (rsqrt (b));
@@ -399,6 +400,7 @@ F(compile_test) (void)
a = pow (y, y);
a = pown (y, 12345);
a = compoundn (y, 12345);
+ a = rootn (y, 12345);
a = powr (y, y);
a = sqrt (y);
a = rsqrt (y);
@@ -802,6 +804,14 @@ TYPE
}
TYPE
+(F(rootn)) (TYPE x, long long int y)
+{
+ ++count;
+ P ();
+ return x + y;
+}
+
+TYPE
(F(sqrt)) (TYPE x)
{
++count;