OpenCoverage

printf-frexp.c #2

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/printf-frexp.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6long double-
7printf_frexpl (long double x, int *expptr)-
8{-
9 int exponent;-
10 fpucw_t oldcw;-
11-
12 (void)(oldcw = ({ fpucw_t _cw; __asm__ __volatile__ ("fnstcw %0" : "=m" (*&_cw)); _cw; }), (void)({ fpucw_t _ncw = ((oldcw & ~0x0300) | 0x300); __asm__ __volatile__ ("fldcw %0" : : "m" (*&_ncw)); }));-
13-
14-
15-
16 x = frexpl (x, &exponent);-
17-
18 x = x + x;-
19 exponent -= 1;-
20-
21 if (exponent < (-16381) - 1
exponent < (-16381) - 1Description
TRUEnever evaluated
FALSEnever evaluated
)
0
22 {-
23 x = ldexpl (x, exponent - ((-16381) - 1));-
24 exponent = (-16381) - 1;-
25 }
never executed: end of block
0
26 (void)({ fpucw_t _ncw = (oldcw); __asm__ __volatile__ ("fldcw %0" : : "m" (*&_ncw)); });-
27-
28 *expptr = exponent;-
29 return
never executed: return x;
x;
never executed: return x;
0
30}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2