home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 6
/
Sonderheft_6-96.iso
/
pd
/
libraries
/
bignum
/
developpers
/
fd
/
bignum_lib.fd
Wrap
Text File
|
1996-11-03
|
866b
|
35 lines
##base _BigNumBase
##bias 30
##public
BigNumInit()
BigNumAdd(x,y,z)(A0/A1/A2)
BigNumDigitAdd(x,y)(A0,D0)
BigNumDisplay(z)(A0)
BigNumPrint(x)(A0)
BigNumAssign(x,y)(A0/A1)
BigNumStrToBigNum(x,S)(A0/A1)
BigNumCompare(x,y)(A0/A1)
BigNumDiv(x,y,z)(A0/A1/A2)
BigNumDigitDiv(x,y,z)(A0,D0,A1)
BigNumRightShift(x,z)(A0/A1)
BigNumMul(x,y,z)(A0/A1/A2)
BigNumDigitMul(x,y)(A0,D0)
BigNumLeftShift(x)(A0)
BigNumModulo(x,y,z)(A0/A1/A2)
BigNumPgcd(x,y,z)(A0/A1/A2)
BigNumPuiModulo(x,y,z,t)(A0/A1/A2/A3)
BigNumRho(n,res,lim)(A0/A1,D0)
BigNumRnd(n,z)(D0,A0)
BigNumSub(x,y,z)(A0/A1/A2)
BigNumDigitSub(x,y)(A0,D0)
BigNumSwap(x,y)(A0/A1)
BigNumIntToBigNum(z,x)(A0,D0)
BigNumFree(i)(D0)
BigNumFastCompare(x,y)(A0/A1)
BigNumToInt(z)(A0)
BigNumSqrt(x,y)(A0/A1)
BigNumDiffCarre(n,res)(A0/A1,D0)
BigNumBrutePrime(i,aff)(A0,D0)
BigNumEDiv(x,y,z,Rest)(A0/A1/A2/A3)
BigNumToStr(z,y)(A0/A1)
##end