Home
last modified time | relevance | path

Searched refs:bceil (Results 1 – 10 of 10) sorted by relevance

/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/t/
H A Ddowngrade.t378 note("bceil()");
380 $x = $half -> copy() -> bceil();
381 cmp_ok($x, "==", 1, "bceil(0)");
382 is(ref($x), "Math::BigInt", "bceil(0) => Math::BigInt");
384 $x = $inf -> copy() -> bceil();
385 cmp_ok($x, "==", "Inf", "bceil(Inf)");
386 is(ref($x), "Math::BigInt", "bceil(Inf) => Math::BigInt");
388 $x = $nan -> copy() -> bceil();
389 is($x, "NaN", "bceil(NaN)");
390 is(ref($x), "Math::BigInt", "bceil(NaN) => Math::BigInt");
H A Dbigratup.t17 # bceil/bfloor
23 is($x->bceil(), '13', 'ceil(49/4)');
H A Dbigfltpm.inc322 …::BigFloat -lwe 'print Math::BigFloat->new(".222222222222222222222222222222222222222222")->bceil()'
326 ok ($x->bceil(), 1, 'no warnings and one as result');
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Ddowngrade.t707 note("testing bceil()");
709 $x = $half -> copy() -> bceil();
710 subtest '$x = $half -> copy() -> bceil();' => sub {
712 cmp_ok($x, '==', 1, 'bceil(0)');
713 is(ref($x), 'Math::BigInt', 'bceil(0) => Math::BigInt');
716 $x = $inf -> copy() -> bceil();
717 subtest '$x = $inf -> copy() -> bceil();' => sub {
719 cmp_ok($x, '==', 'Inf', 'bceil(Inf)');
723 $x = $nan -> copy() -> bceil();
724 subtest '$x = $nan -> copy() -> bceil();' => sub {
[all …]
H A Dbigfltpm.inc427 …::BigFloat -lwe 'print Math::BigFloat->new(".222222222222222222222222222222222222222222")->bceil()'
431 is($x->bceil(), 1,
433 qq| $x->bceil();|);
2407 &bceil
H A Dupgrade.inc1507 &bceil
H A Dbigintpm.inc3431 &bceil
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigInt.pm3796 sub bceil { subroutine
3800 return $upgrade -> bceil($x)
H A DBigFloat.pm4162 sub bceil { subroutine
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/lib/Math/
H A DBigRat.pm1378 sub bceil { subroutine