summaryrefslogtreecommitdiff
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 a24058c9bd..a919c64aab 100644
--- a/math/test-tgmath.c
+++ b/math/test-tgmath.c
@@ -50,7 +50,7 @@ int count_cdouble;
int count_cfloat;
int count_cldouble;
-#define NCALLS 122
+#define NCALLS 125
#define NCALLS_INT 4
#define NCCALLS 47
@@ -286,6 +286,7 @@ F(compile_test) (void)
a = fmin (fmin (x, a), fmin (c, b));
b = fma (sin (a), sin (x), sin (c));
a = totalorder (totalorder (x, b), totalorder (c, x));
+ b = totalordermag (totalordermag (x, a), totalordermag (c, x));
#ifdef TEST_INT
a = atan2 (i, b);
@@ -383,6 +384,7 @@ F(compile_test) (void)
a = fmin (y, y);
a = fma (y, y, y);
a = totalorder (y, y);
+ a = totalordermag (y, y);
#ifdef TEST_INT
a = atan2 (i, y);
@@ -884,6 +886,14 @@ int
return x + y;
}
+int
+(F(totalordermag)) (TYPE x, TYPE y)
+{
+ ++count;
+ P ();
+ return x + y;
+}
+
complex TYPE
(F(cacos)) (complex TYPE x)
{