Branch Coverage

blib/lib/Data/IEEE754/Tools.pm
Criterion Covered Total %
branch 128 130 98.4


line true false branch
296 56 56 $sbit ? :
299 36 76 if ($exp == 1024)
300 6 30 if $mant eq '0000000000000'
301 3 27 if $mant eq '8000000000000' and $sign eq '-'
302 12 15 ($msb & 524288) != 524288 ? :
305 18 58 if ($exp == -1023)
307 6 12 $mant eq '0000000000000' ? :
317 34 34 $sbit ? :
320 12 56 if ($exp == 1024)
321 2 10 if $mant eq '0000000000000'
322 1 9 if $mant eq '8000000000000' and $sign eq '-'
323 4 5 ($msb & 524288) != 524288 ? :
326 6 50 if ($exp == -1023)
328 2 4 $mant eq '0000000000000' ? :
412 5 5 unless defined $local
413 6 10 unless defined $local
414 5 5 unless defined $local
415 5 5 unless defined $local
416 5 5 unless defined $local
417 5 5 unless defined $local
418 5 517 unless defined $local
419 5 5 unless defined $local
420 5 5 unless defined $local
421 5 5 unless defined $local
422 5 5 unless defined $local
423 5 1 unless defined $local
424 5 1 unless defined $local
425 5 1 unless defined $local
426 5 1 unless defined $local
427 5 1 unless defined $local
428 5 1 unless defined $local
429 5 1 unless defined $local
430 5 1 unless defined $local
431 5 1 unless defined $local
432 5 1 unless defined $local
433 5 1 unless defined $local
461 12 18 if $exp eq '11111111111'
462 6 12 if $exp eq '00000000000'
490 12 14 if ($exp == '11111111111')
515 20 156 if $val != $val
517 2 154 if $h754 eq '7FF0000000000000'
518 12 142 if $h754 eq 'FFF0000000000000'
519 4 138 if $h754 eq '8000000000000000'
521 82 56 $msb & 2147483648 ? :
522 22 116 if ($lsb == 4294967296) { }
30 86 elsif ($lsb == -1) { }
558 110 160 if $_[0] != $_[0]
559 20 140 if $_[1] != $_[1]
560 28 112 if $_[1] == $_[0]
561 56 56 if $_[1] > $_[0]
688 512 0 unless not isSignaling(&POS_SNAN_FIRST())
724 4 18 if isSignaling($_[0])
725 6 12 if isNaN($_[0])
726 1 11 if isInfinite($_[0]) and isSignMinus($_[0])
727 2 9 if isNormal($_[0]) and isSignMinus($_[0])
728 2 7 if isSubnormal($_[0]) and isSignMinus($_[0])
729 1 6 if isZero($_[0]) and isSignMinus($_[0])
730 1 5 if isZero($_[0]) and not isSignMinus($_[0])
731 2 3 if isSubnormal($_[0]) and not isSignMinus($_[0])
732 2 1 if isNormal($_[0]) and not isSignMinus($_[0])
733 1 0 if isInfinite($_[0]) and not isSignMinus($_[0])
765 200 768 if ($xin and $yin) { }
240 528 elsif ($xin) { }
240 288 elsif ($yin) { }
8 280 elsif (isZero($x) and isZero($y)) { }