Branch Coverage

blib/lib/Math/Float128.pm
Criterion Covered Total %
branch 36 42 85.7


line true false branch
107 4 4 if (is_ZeroF128($_[0]))
108 2 2 if is_ZeroF128($_[0]) < 0
112 2 2 if (is_NaNF128($_[0]))
115 1 1 if $inf < 0
116 1 0 if $inf > 0
135 0 450 unless (@_)
137 0 450 if (@_ > 2)
145 444 6 if (not ref $_[0] and $_[0] eq "Math::Float128")
147 8 436 unless (@_)
150 0 442 if (@_ > 1)
155 25 417 if $type == 1
156 150 267 if $type == 2
158 98 169 if ($type == 4)
159 6 92 if (_SvNOK($arg))
161 0 6 if ($Math::Float128::NOK_POK)
168 142 27 if ($type == 3)
179 2 140 if ($arg == 0)
180 2 138 if ($arg != $arg)
181 4 134 if ($arg / $arg != 1)
182 2 2 if ($arg < 0)
188 27 0 if ($type == 113)