Searched refs:broot (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/ |
H A D | bigroot.t | 3 # Test broot function (and bsqrt() function, since it is used by broot()). 65 print "# Try: $cl $x->bpow($n)->broot($y,$s) == $result:\n"; 66 ok ($cl->new($x)->bpow($n)->broot($y,$scale),$result); 68 print "# Try: $c $x->bpow($n)->broot($y,$s) == $result:\n"; 69 ok ($c->new($x)->bpow($n)->broot($y,$scale),$result);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/ |
H A D | bigrat.t | 241 # broot(), bmodpow() and bmodinv() 247 ok ($x->copy()->broot($y), 2 ** 8); 248 ok (ref($x->copy()->broot($y)), $cr); 263 ok ($x->copy()->broot(2), '12/10'); 264 ok (ref($x->copy()->broot(2)), $cr);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/ |
H A D | BigRat.pm | 951 sub broot subroutine 963 return $self->new($x->as_number()->broot($y->as_number(),@r)); 967 $x->_new_from_float( $x->_as_float()->broot($y,@r) );
|
H A D | BigInt.pm | 1937 sub broot subroutine 1952 return $x if $x->modify('broot'); 1961 return $upgrade->new($x)->broot($upgrade->new($y),@r) if defined $upgrade; 2648 $x->broot($y); # $y'th root of $x (e.g. $y == 3 => cubic root) 3901 =item broot() does not work 3903 The broot() function in BigInt may only work for small values. This will be
|
H A D | BigFloat.pm | 1458 sub broot subroutine 1539 # calculate the broot() as integer result first, and if it fits, return 1549 $int->broot($y->as_number()); 2537 $x->broot($y); # $y'th root of $x (e.g. $y == 3 => cubic root)
|
Completed in 54 milliseconds