Lines Matching refs:accuracy

12 #   _a	: accuracy
23 use vars qw/$AUTOLOAD $accuracy $precision $div_scale $round_mode $rnd_mode
42 $accuracy = undef;
62 # some digits of accuracy for blog(undef,10); which we use in blog() for speed
98 accuracy precision div_scale round_mode fneg fabs fnot
363 # if set accuracy or precision, pad with zeros on the right side
734 # we need to limit the accuracy to protect against overflow
747 $params[0] = $self->div_scale(); # and round to it as accuracy
777 my $abr = "$self\::accuracy"; my $ab = $$abr; $$abr = undef;
1274 # we need to limit the accuracy to protect against overflow
1285 $params[0] = $self->div_scale(); # and round to it as accuracy
1476 # we need to limit the accuracy to protect against overflow
1487 $params[0] = $self->div_scale(); # and round to it as accuracy
1502 my $abr = "$self\::accuracy"; my $ab = $$abr; $$abr = undef;
1598 # we need to limit the accuracy to protect against overflow
1609 $params[0] = $self->div_scale(); # and round to it as accuracy
1624 my $abr = "$self\::accuracy"; my $ab = $$abr; $$abr = undef;
1661 ${"$self\::accuracy"} = $ab; ${"$self\::precision"} = $pb;
1665 # sqrt(2) = 1.4 because sqrt(2*100) = 1.4*10; so we can increase the accuracy
1798 # we need to limit the accuracy to protect against overflow
1809 $params[0] = $self->div_scale(); # and round to it as accuracy
1825 my $abr = "$self\::accuracy"; my $ab = $$abr; $$abr = undef;
2050 # accuracy: preserve $N digits, and overwrite the rest with 0's
2055 require Carp; Carp::croak ('bround() needs positive accuracy');
2058 my ($scale,$mode) = $x->_scale_a($self->accuracy(),$self->round_mode(),@_);
2063 # scale is now either $x->{_a}, $accuracy, or the user parameter
2064 # test whether $x already has lower accuracy, do nothing in this case
2065 # but do round if the accuracy is the same, since a math operation might
2344 # round number according to accuracy and precision settings
2540 $x->bround($N); # accuracy: preserve $N digits
2564 $x->accuracy(); # return A of $x (or global, if A of $x undef)
2565 $x->accuracy($n); # set A $x to $n
2569 Math::BigFloat->accuracy(); # Accuracy
2664 Math::BigFloat supports both precision and accuracy. For a full documentation,
2673 accuracy/precision setting will be used.
2676 called with a requested precision or accuracy, B<and> the input $x has no
2677 accuracy or precision set, then a fallback parameter will be used. For
2716 Preserves accuracy to $scale digits from the left (aka significant digits)