Home
last modified time | relevance | path

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

/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/BigInt/
DLib.pm40 return $class -> _mul($x, $y);
318 sub _mul {
537 return $class -> _mul($x, $class -> _pow($class -> _copy($b), $n));
565 $pow2 = $class -> _mul($pow2, $x) if substr($y_bin, $len, 1) eq '1';
566 $x = $class -> _mul($x, $x);
569 $x = $class -> _mul($x, $pow2);
581 my $twok = $class -> _mul($class -> _two(), $class -> _copy($k));
618 $n = $class -> _mul($n, $f);
670 $p = $class -> _mul($p, $k);
672 $r = $class -> _mul($r, $p);
[all …]
DCalc.pm118 *_mul = \&_mul_use_int;
121 *_mul = \&_mul_no_int;
1282 $n = $c->_mul($c->_new($log10b), $n);
1320 $x = $c->_mul($x, $c->_pow($b, $n));
1355 $c->_mul($pow2, $cx) if substr($y_bin, $len, 1) eq '1'; # is odd?
1356 $c->_mul($cx, $cx);
1359 $c->_mul($cx, $pow2);
1374 my $twok = $c->_mul($c->_two(), $c->_copy($k)); # 2 * k
1410 $c->_mul($n, $f);
1523 $c->_mul($cx, [$m]);
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/t/
Dbigints.t24 # _add, _sub, _mul, _div
30 is($class->_str($class->_mul($x, $y)), 39483,
31 "$class->_str($class->_mul(\$x, \$y))");
35 $class->_mul($x, $y);
Dbigintc.t42 # _add, _sub, _mul, _div
48 is($LIB->_str($LIB->_mul($x, $y)), 39483,
49 qq|$LIB->_str($LIB->_mul(\$x, \$y)) = 39483|);
57 is($LIB->_str($LIB->_mul($x, $y)), 39483,
58 qq|$LIB->_str($LIB->_mul(\$x, \$y)) = 39483|);
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
DBigRat.pm445 $self -> {_n} = $LIB -> _mul($LIB -> _div($LIB -> _copy($p), $gcd_pr),
447 $self -> {_d} = $LIB -> _mul($LIB -> _div($LIB -> _copy($q), $gcd_sq),
475 $self -> {_d} = $LIB -> _mul($LIB -> _copy($q), $m);
508 $self -> {_n} = $LIB -> _mul($LIB -> _copy($q), $m);
893 $x->{_n} = $LIB->_mul($x->{_n}, $y->{_d});
896 my $m = $LIB->_mul($LIB->_copy($y->{_n}), $x->{_d});
902 $x->{_d} = $LIB->_mul($x->{_d}, $y->{_d});
972 $x->{_n} = $LIB -> _mul(scalar $LIB -> _div($x->{_n}, $gcd_pr),
975 $x->{_d} = $LIB -> _mul(scalar $LIB -> _div($x->{_d}, $gcd_sq),
1109 $x->{_n} = $LIB->_mul($x->{_n}, $y->{_d});
[all …]
DBigInt.pm2085 $x->{value} = $LIB->_mul($x->{value}, $y->{value}); # do actual math
2122 $x->{value} = $LIB->_mul($x->{value}, $y->{value}); # do actual math
6176 $delta = $LIB -> _mul($delta, $bpc_lib) if $bpc != 1;
6195 $delta = $LIB -> _mul($delta, $bpc_lib) if $bpc != 1;
6224 $sig_lib = $LIB -> _mul($sig_lib, $p);
6240 $sig_lib = $LIB -> _mul($sig_lib, $p);
DBigFloat.pm1995 $x->{_m} = $LIB->_mul($x->{_m}, $y->{_m});
2037 $x->{_m} = $LIB->_mul($x->{_m}, $y->{_m});
2535 $x->{_e} = $LIB -> _mul($x->{_e}, $y1);
2888 $A = $LIB -> _mul($A, $F);
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/
DScalar.pm157 sub _mul { subroutine
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/t/
Dbigintfc.t42 # _add, _sub, _mul, _div
48 is($LIB->_str($LIB->_mul($x, $y)), 39483,
49 qq|$LIB->_str($LIB->_mul(\$x, \$y)) = 39483|);
57 is($LIB->_str($LIB->_mul($x, $y)), 39483,
58 qq|$LIB->_str($LIB->_mul(\$x, \$y)) = 39483|);
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/Lib/
DMinimal.pm131 sub _mul { subroutine