blib/lib/Data/IEEE754/Tools.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 55 | 60 | 91.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
301 | 24 | 3 | 3 | $mant eq '8000000000000' and $sign eq '-' |
322 | 8 | 1 | 1 | $mant eq '8000000000000' and $sign eq '-' |
726 | 10 | 1 | 1 | isInfinite($_[0]) and isSignMinus($_[0]) |
727 | 7 | 2 | 2 | isNormal($_[0]) and isSignMinus($_[0]) |
728 | 5 | 2 | 2 | isSubnormal($_[0]) and isSignMinus($_[0]) |
729 | 5 | 1 | 1 | isZero($_[0]) and isSignMinus($_[0]) |
730 | 5 | 0 | 1 | isZero($_[0]) and not isSignMinus($_[0]) |
731 | 3 | 0 | 2 | isSubnormal($_[0]) and not isSignMinus($_[0]) |
732 | 1 | 0 | 2 | isNormal($_[0]) and not isSignMinus($_[0]) |
733 | 0 | 0 | 1 | isInfinite($_[0]) and not isSignMinus($_[0]) |
765 | 528 | 240 | 200 | $xin and $yin |
240 | 40 | 8 | isZero($x) and isZero($y) |
line | l | !l | condition |
---|---|---|---|
591 | 10 | 26 | 0 < $exp && $exp < 2047 || 0 |
603 | 10 | 12 | $exp < 2047 || 0 |
615 | 61 | 310 | $str eq '000000000000000' || 0 |
629 | 10 | 26 | ($exp eq '000' || $exp eq '800') && $frc ne '0000000000000' || 0 |
643 | 5 | 30 | ($exp eq '7FF' || $exp eq 'FFF') && $frc eq '0000000000000' || 0 |
657 | 896 | 1080 | ($exp eq '7FF' || $exp eq 'FFF') && $frc ne '0000000000000' || 0 |
675 | 520 | 36 | ($exp eq '7FF' || $exp eq 'FFF') && $frc ne '0000000000000' && !$qbit || 0 |
770 | 115 | 85 | $x <= $y || 0 |
772 | 60 | 180 | $xsegs[0] || 0 |
774 | 180 | 60 | !$ysegs[0] || 0 |
777 | 7 | 1 | -$xsegs[0] <= -$ysegs[0] || 0 |
779 | 155 | 125 | $x <= $y || 0 |