require "bigint.pl"; $BINT = &bneg($BINT); # negation $BINT = &babs($BINT); # absolute value $CODE = &bcmp($BINT, $BINT); # comparison, like <=> $BINT = &badd($BINT, $BINT); # addition $BINT = &bsub($BINT, $BINT); # subtraction $BINT = &bmul($BINT, $BINT); # multiplication ($BINT,$BINT) = &bdiv($BINT, $BINT); # division (quotient, rem) $BINT = &bdiv($BINT, $BINT); # division (just quotient) $BINT = &bmod($BINT, $BINT); # modulus $BINT = &bgcd($BINT, $BINT); # greatest common divisor $BINT = &bnorm($BINT); # normalization