Group
Extension

Matches 44

Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/copy-mbf.t ( view source; MetaCPAN )
k(defined($y), '$y is defined');
    is(ref($y), 'Math::BigFloat', '$y has the right class');
    isnt(refaddr($y), refaddr($x), '$y is a different object than $x');

    # sign

    ok(defined($y->{s
,
       'mantissa of $y and $x use the same reference type');
    isnt(ref($y->{_m}), '', 'mantissa of $y is a reference');
    isnt(refaddr($y->{_m}), refaddr($x->{_m}),
      'mantissa of $y is not
onent mantissa of $y and $x use the same reference type');
    isnt(ref($y->{_e}), '', 'exponent mantissa of $y is a reference');
    isnt(refaddr($y->{_e}), refaddr($x->{_e}),
      'exponent mantiss
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/copy-mbi.t ( view source; MetaCPAN )
 ok(defined($y), '$y is defined');
    is(ref($y), 'Math::BigInt', '$y has the right class');
    isnt(refaddr($y), refaddr($x), '$y is a different object than $x');

    # sign

    ok(defined($y->{s

       'mantissa of $y and $x use the same reference type');
    isnt(ref($y->{value}), '', 'mantissa of $y is a reference');
    isnt(refaddr($y->{value}), refaddr($x->{value}),
      'mantissa of $
 ok(defined($y), '$y is defined');
    is(ref($y), 'Math::BigInt', '$y has the right class');
    isnt(refaddr($y), refaddr($x), '$y is a different object than $x');

    # sign

    ok(defined($y->{s
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/as_float-mbr.t ( view source; MetaCPAN )
f($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    cmp_ok($y, "==", "Inf", '$y == Inf');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

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

$x = Math::BigRat -> new("NaN")

    is(ref($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    is($y, "NaN", '$y is NaN');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

$x = Math::BigRat -> new("2"); 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/as_float-mbf.t ( view source; MetaCPAN )
f($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    cmp_ok($y, "==", "Inf", '$y == Inf');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

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

$x = Math::BigFloat -> new("NaN

    is(ref($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    is($y, "NaN", '$y is NaN');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

$x = Math::BigFloat -> new("2")
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/as_rat-mbf.t ( view source; MetaCPAN )
s(ref($y), 'Math::BigRat', '$y is a Math::BigRat');
    cmp_ok($y, "==", "Inf", '$y == Inf');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

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

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

$x = Math::BigFloat -> new("2")
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/as_rat-mbr.t ( view source; MetaCPAN )
s(ref($y), 'Math::BigRat', '$y is a Math::BigRat');
    cmp_ok($y, "==", "Inf", '$y == Inf');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

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

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

$x = Math::BigRat -> new("2"); 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-arithmetic-ternary-_modpow.t ( view source; MetaCPAN )
 2 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg");

            isnt(refaddr($got[0]), refaddr($m),
       
, 2 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");

            isnt(refaddr($got), refaddr($m),
            
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-arithmetic-binary-_sub.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg")
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");
 
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($x),
                 "'$test' output arg is not the first input arg");
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/as_float-mbi.t ( view source; MetaCPAN )
f($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    cmp_ok($y, "==", "Inf", '$y == Inf');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

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

$x = Math::BigInt -> new("NaN")

    is(ref($y), 'Math::BigFloat', '$y is a Math::BigFloat');
    is($y, "NaN", '$y is NaN');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

$x = Math::BigInt -> new("2"); 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/as_rat-mbi.t ( view source; MetaCPAN )
s(ref($y), 'Math::BigRat', '$y is a Math::BigRat');
    cmp_ok($y, "==", "Inf", '$y == Inf');
    isnt(refaddr($x), refaddr($y), '$x and $y are different objects');
};

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

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

$x = Math::BigInt -> new("2"); 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-arithmetic-binary-_div.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' first output arg is not the second input
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[1]), refaddr($y),
                 "'$test' second output arg is not the second inpu
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");
 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-bitwise-_xor.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg")
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");
 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-constructor-unary-_copy.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($x),
                 "'$test' output arg is not the input arg");
     
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($x),
                 "'$test' output arg is not the input arg");
        
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/bpi-mbi.t ( view source; MetaCPAN )
Int -> new(100); $y = $x -> bpi();');
is(ref($y), "Math::BigFloat",
   '$y is a Math::BigFloat');
isnt(refaddr($x), refaddr($y), '$x and $y are not the same object');

# When accuracy is specified, it
'3.141592654',
   '$x = Math::BigInt -> new(100); $y = $x -> bpi();');
is(ref($y), "Math::BigFloat",
   '$y is a Math::BigFloat');
isnt(refaddr($x), refaddr($y), '$x and $y are not the same object');
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-bitwise-_or.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg")
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg")
  
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-bitwise-_and.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg")
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");
 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-arithmetic-binary-_sadd.t ( view source; MetaCPAN )

        is($got[1], $out1,
           "'$test' second output arg has the right value");

        isnt(refaddr($got[0]), refaddr($y),
             "'$test' output arg is not the third input arg");

  

        is($got[1], $out1,
           "'$test' second output arg has the right value");

        isnt(refaddr($got[0]), refaddr($x),
             "'$test' output arg is not the first input arg");

  
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-arithmetic-binary-_gcd.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg")
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");
 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-arithmetic-binary-_nok.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg")
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");
 
Math-BigInt ( P/PJ/PJACKLAM/Math-BigInt-2.003002.tar.gz, PJACKLAM, 2024; MetaCPAN )
Math-BigInt/xt/author/lib-arithmetic-binary-_mul.t ( view source; MetaCPAN )
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got[0]), refaddr($y),
                 "'$test' output arg is not the second input arg")
    SKIP: {
            skip "Scalar::Util not available", 1 unless $scalar_util_ok;

            isnt(refaddr($got), refaddr($y),
                 "'$test' output arg is not the second input arg");
 

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