Lines Matching refs:half
97 my $half = Math::BigRat -> new("1/2");
103 is(ref $half, "Math::BigRat", "Creating a 0.5 does not downgrade");
188 $x = $half -> copy() -> badd($nan);
192 $x = $half -> copy() -> badd($inf);
196 $x = $half -> copy() -> badd($half);
200 $x = $half -> copy() -> badd($half -> copy() -> bneg());
222 $x = $half -> copy() -> bsub($nan);
226 $x = $half -> copy() -> bsub($inf);
230 $x = $half -> copy() -> bsub($half);
234 $x = $half -> copy() -> bsub($half -> copy() -> bneg());
366 $x = $half -> copy() -> bfloor();
380 $x = $half -> copy() -> bceil();
394 $x = $half -> copy() -> bint();