diff options
Diffstat (limited to 'math/test-tgmath.c')
-rw-r--r-- | math/test-tgmath.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/math/test-tgmath.c b/math/test-tgmath.c index 141e96b..290e9cb 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 160 +#define NCALLS 162 #define NCALLS_INT 4 #define NCCALLS 47 @@ -256,6 +256,7 @@ F(compile_test) (void) a = exp10 (exp10 (x)); b = log2 (log2 (a)); a = log2p1 (log2p1 (x)); + a = logp1 (logp1 (x)); a = pow (pow (x, a), pow (c, b)); b = sqrt (sqrt (a)); a = hypot (hypot (x, b), hypot (c, a)); @@ -370,6 +371,7 @@ F(compile_test) (void) a = exp10 (y); a = log2 (y); a = log2p1 (y); + a = logp1 (y); a = pow (y, y); a = sqrt (y); a = hypot (y, y); @@ -652,6 +654,14 @@ TYPE } TYPE +(F(logp1)) (TYPE x) +{ + ++count; + P (); + return x; +} + +TYPE (F(pow)) (TYPE x, TYPE y) { ++count; |