Group
Extension

Matches 5

Math-BigRat ( P/PJ/PJACKLAM/Math-BigRat-0.2624.tar.gz, PJACKLAM, 2022; MetaCPAN )
Math-BigRat/t/new-mbr.t ( view source; MetaCPAN )
    "The value of the denominator hasn't changed");

isnt(refaddr($n), refaddr($n_orig),
     "The addresses of the numerators have changed");
isnt(refaddr($d), refaddr($d_orig),
     "The addresses o
Math-BigRat ( P/PJ/PJACKLAM/Math-BigRat-0.2624.tar.gz, PJACKLAM, 2022; MetaCPAN )
Math-BigRat/xt/author/as_float-mbr.t ( view source; MetaCPAN )
 is(ref($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    cmp_ok($y, "==", 2, '$y == 2');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

$x = Math::BigRat -> new("2.5")
ref($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    cmp_ok($y, "==", 2.5, '$y == 2.5');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

note("as_float() returns a Math
Math-BigRat ( P/PJ/PJACKLAM/Math-BigRat-0.2624.tar.gz, PJACKLAM, 2022; MetaCPAN )
Math-BigRat/xt/author/as_rat-mbr.t ( view source; MetaCPAN )

    is(ref($y), 'Math::BigRat', '$y is a Math::BigRat');
    cmp_ok($y, "==", 2, '$y == 2');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

$x = Math::BigRat -> new("2.5")
 is(ref($y), 'Math::BigRat', '$y is a Math::BigRat');
    cmp_ok($y, "==", 2.5, '$y == 2.5');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

note("as_rat() returns a Math::
Math-BigRat ( P/PJ/PJACKLAM/Math-BigRat-0.2624.tar.gz, PJACKLAM, 2022; MetaCPAN )
Math-BigRat/xt/author/as_number-mbr.t ( view source; MetaCPAN )
igRat', '$x is a Math::BigRat');
    is(ref($y), 'Math::BigInt', '$y is a Math::BigInt');
    cmp_ok($y, "==", 2, '$y == 2');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};
Math-BigRat ( P/PJ/PJACKLAM/Math-BigRat-0.2624.tar.gz, PJACKLAM, 2022; MetaCPAN )
Math-BigRat/xt/author/as_int-mbr.t ( view source; MetaCPAN )

    is(ref($y), 'Math::BigInt', '$y is a Math::BigInt');
    cmp_ok($y, "==", 2, '$y == 2');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

note("as_int() returns a Math::

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.