Searched defs:Math (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/Math/BigFloat/
H A DSubclass.pm3 package Math::BigFloat::Subclass;
9 use Math::BigFloat(1.38);
13 @ISA = qw(Exporter Math::BigFloat);
33 my $self = Math::BigFloat->new($value,$a,$p,$round_mode);
41 *objectify = \&Math::BigInt::objectify;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/
H A DCalcEmu.pm1 package Math::BigInt::CalcEmu;
10 package Math::BigInt;
18 $CALC_EMU = Math::BigInt->config()->{'lib'};
287 Math::BigInt::CalcEmu - Emulate low-level math with BigInt code
316 L<Math::BigInt>, L<Math::BigFloat>, L<Math::BigInt::BitVect>,
317 L<Math::BigInt::GMP> and L<Math::BigInt::Pari>.
H A DTrace.pm3 package Math::BigInt::Trace;
9 use Math::BigInt;
13 @ISA = qw(Exporter Math::BigInt);
32 my $self = Math::BigInt->new($value,$a,$p,$round_mode);
42 Math::BigInt::import($self,@_); # need it for subclasses
H A DCalc.pm1 package Math::BigInt::Calc;
1969 Math::BigInt::Calc - Pure Perl module to support Math::BigInt
1975 Math::BigInt, like Math::BigInt::GMP or Math::BigInt::Pari.
1979 In order to allow for multiple big integer libraries, Math::BigInt was
1983 use Math::BigInt lib => 'libname';
1985 'libname' is either the long name ('Math::BigInt::Pari'), or only the short
1993 Math
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dcalling.t42 package Math::BigInt::Test;
44 use Math::BigInt;
46 @ISA = qw/Math::BigInt/; # child of MBI
49 package Math::BigFloat::Test;
51 use Math::BigFloat;
53 @ISA = qw/Math::BigFloat/; # child of MBI
58 use Math::BigInt;
59 use Math::BigFloat;
83 Math::BigInt Math
[all...]
H A Dupgradef.t34 package Math::BigFloat::Test;
36 use Math::BigFloat;
39 @ISA = qw/Exporter Math::BigFloat/;
46 return if $class =~ /^Math::Big(Int|Float)/; # we aren't one of these
63 # use Math::BigInt upgrade => 'Math::BigFloat';
64 use Math::BigFloat upgrade => 'Math::BigFloat::Test';
68 $class = "Math::BigFloat";
69 $CL = "Math
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/Math/BigInt/
H A DBareCalc.pm1 package Math::BigInt::BareCalc;
19 use Math::BigInt::Calc '0.40';
35 my $name = "Math::BigInt::Calc::_$_";
36 *{"Math::BigInt::BareCalc::_$_"} = \&$name;
38 print "# BareCalc using Calc v$Math::BigInt::Calc::VERSION\n";
H A DSubclass.pm3 package Math::BigInt::Subclass;
9 use Math::BigInt (1.64);
15 @ISA = qw(Exporter Math::BigInt);
36 my $self = Math::BigInt->new($value,$a,$p,$round_mode);
44 Math::BigInt::bgcd(@_);
49 Math::BigInt::blcm(@_);
54 *objectify = \&Math::BigInt::objectify;
58 *bneg = \&Math::BigInt::bneg;
59 *babs = \&Math::BigInt::babs;
60 *bnan = \&Math
[all...]
H A DScalar.pm5 package Math::BigInt::Scalar;
320 Math::BigInt::Scalar - Pure Perl module to test Math::BigInt with scalars
330 Please see Math::BigInt::Calc.
343 L<Math::BigInt>, L<Math::BigInt::Calc>.
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigFloat/
H A DTrace.pm3 package Math::BigFloat::Trace;
9 use Math::BigFloat;
13 @ISA = qw(Exporter Math::BigFloat);
32 my $self = Math::BigFloat->new($value,$a,$p,$round_mode);
54 Math::BigFloat->import(@a); # need it for subclasses
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/Math/BigRat/
H A DTest.pm1 package Math::BigRat::Test;
7 use Math::BigRat;
8 use Math::BigFloat;
12 @ISA = qw(Math::BigRat Exporter);
22 my $class = 'Math::BigRat::Test';
33 # my $self = Math::BigFloat->new($value,$a,$p,$round_mode);
43 *objectify = \&Math::BigInt::objectify;
44 *AUTOLOAD = \&Math::BigRat::AUTOLOAD;
48 *{'b' . $method} = \&{'Math::BigRat::b' . $method};
57 Math
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DTrig.pm2 # Trigonometric functions, mostly inherited from Math::Complex.
4 # -- Raphael Manfredi, September 1996 (indirectly: because of Math::Complex)
8 package Math::Trig;
13 use Math::Complex qw(:trig);
25 @EXPORT = (@{$Math::Complex::EXPORT_TAGS{'trig'}},
158 Math::Trig - trigonometric functions
162 use Math::Trig;
174 C<Math::Trig> defines many trigonometric functions not defined by the
282 The C<Math::Trig> handles this by using the C<Math
[all...]
H A DBigFloat.pm1 package Math::BigFloat;
19 @ISA = qw(Exporter Math::BigInt);
25 my $class = "Math::BigFloat";
49 # Math::BigInt->config()->{lib}
50 my $MBI = 'Math::BigInt::Calc';
83 $rnd_mode = 'even'; tie $rnd_mode, 'Math::BigFloat';
121 return $wanted->copy() if UNIVERSAL::isa($wanted,'Math::BigFloat');
149 my ($mis,$miv,$mfv,$es,$ev) = Math::BigInt::_split($wanted);
297 return if $class =~ /^Math::BigInt/; # we aren't one of these
304 my $class = shift || 'Math
[all...]
H A DBigRat.pm15 package Math::BigRat;
21 use Math::BigFloat;
25 @ISA = qw(Exporter Math::BigFloat);
29 use overload; # inherit from Math::BigFloat
31 BEGIN { *objectify = \&Math::BigInt::objectify; }
50 my $MBI = 'Math::BigInt';
51 my $CALC = 'Math::BigInt::Calc';
52 my $class = 'Math::BigRat';
57 return 0 if $_[1] =~ /^Math::Big(Int|Float)/; # we aren't
63 *AUTOLOAD = \&Math
[all...]
H A DBigInt.pm1 package Math::BigInt;
9 # value: unsigned int with actual value (as a Math::BigInt::Calc or similiar)
18 my $class = "Math::BigInt";
156 my $CALC = 'Math::BigInt::Calc'; # module to do the low level math
162 my $EMU_LIB = 'Math/BigInt/CalcEmu.pm'; # emulate low-level math
175 tie $rnd_mode, 'Math::BigInt';
356 my $class = shift || 'Math::BigInt';
1984 # return the mantissa (compatible to Math::BigFloat, e.g. reduced)
2219 # (aka Math::BigInt). The latter shouldn't happen,though.
2225 # Math
[all...]
H A DComplex.pm8 package Math::Complex;
232 # This avoids the burden of writing Math::Complex->make(re, im).
242 # This avoids the burden of writing Math::Complex->emake(rho, theta).
740 Math::Complex::abs(@_);
749 Math::Complex::arg(@_);
807 sub ln { Math::Complex::log(@_) }
816 return Math::Complex::log($_[0]) * uplog10;
907 sub cosec { Math::Complex::csc(@_) }
926 sub cotan { Math::Complex::cot(@_) }
1021 sub acosec { Math
[all...]

Completed in 64 milliseconds