Help for this page

Select Code to Download


  1. or download this
    Math::BigFloat 1.998
    Math::BigInt 1.9991
    Math::BigInt::Calc 1.997
    
  2. or download this
    sub _len {
        my $cx = $_[1];
        (@$cx-1)*$BASE_LEN+length(int($cx->[-1]));  # <--- line 1209
    }
    
  3. or download this
    sub _digit {
        my ($c,$x,$n) = @_;
        my $len = _len('',$x);
        ...
    }
    
  4. or download this
    @ISA = qw/Math::BigInt/;
    
  5. or download this
    ...
    my $CALC = 'Math::BigInt::Calc';
    ...
        $n = $n->numify() if ref($n);
        $CALC->_digit($x->{value},$n||0);
    }
    
  6. or download this
    my ($self,$x,$n) = (undef, $YOUR_n, -1);
    
  7. or download this
    Math::BigInt::Calc->_digit(undef, -1);
    
  8. or download this
    #!/usr/bin/env perl
    
    ...
        say '$n->digit():   ', $n->digit();
    };
    warn $@ if $@;
    
  9. or download this
    123
    REF $n: Math::BigFloat
    ...
    $n->digit(-1): 1
    $n->digit(1):  2
    $n->digit():   3