Condition Coverage

blib/lib/Data/IEEE754/Tools.pm
Criterion Covered Total %
condition 65 70 92.8


and 3 conditions

line !l l&&!r l&&r condition
303 776 143 51 $mant eq '8000000000000' and $sign eq '-'
324 8 1 1 $mant eq '8000000000000' and $sign eq '-'
732 10 1 1 isInfinite($_[0]) and isSignMinus($_[0])
733 7 2 2 isNormal($_[0]) and isSignMinus($_[0])
734 5 2 2 isSubnormal($_[0]) and isSignMinus($_[0])
735 5 1 1 isZero($_[0]) and isSignMinus($_[0])
736 5 0 1 isZero($_[0]) and not isSignMinus($_[0])
737 3 0 2 isSubnormal($_[0]) and not isSignMinus($_[0])
738 1 0 2 isNormal($_[0]) and not isSignMinus($_[0])
739 0 0 1 isInfinite($_[0]) and not isSignMinus($_[0])
771 528 240 200 $xin and $yin
240 40 8 isZero($x) and isZero($y)
828 528 240 200 $xin and $yin
240 40 8 isZero($x) and isZero($y)

or 2 conditions

line l !l condition
597 10 26 0 < $exp && $exp < 2047 || 0
609 10 12 $exp < 2047 || 0
621 117 590 $str eq '000000000000000' || 0
635 10 26 ($exp eq '000' || $exp eq '800') && $frc ne '0000000000000' || 0
649 5 30 ($exp eq '7FF' || $exp eq 'FFF') && $frc eq '0000000000000' || 0
663 1776 2136 ($exp eq '7FF' || $exp eq 'FFF') && $frc ne '0000000000000' || 0
681 520 36 ($exp eq '7FF' || $exp eq 'FFF') && $frc ne '0000000000000' && !$qbit || 0
776 115 85 $x <= $y || 0
778 60 180 $xsegs[0] || 0
780 180 60 !$ysegs[0] || 0
783 7 1 -$xsegs[0] <= -$ysegs[0] || 0
785 155 125 $x <= $y || 0
835 60 180 $xsegs[0] * -1 || 1
837 180 60 !$ysegs[0] * -1 || 1