一門名叫物件導向程式設計的作業
- BNint and BNint
- BNint and BNfloat
- BNfloat and BNfloat
- BNint and int (or int and BNint)
- BNint and BNint
- BNint and BNfloat
- BNfloat and BNfloat
- BNint and int (or int and BNint)
- BNint and BNint
- BNint and BNfloat
- BNfloat and BNfloat
- BNint and int (or int and BNint)
- BNint and BNint
- BNint and BNfloat
- BNfloat and BNfloat
- BNint and int (or int and BNint)
- BNint and BNint
- BNint and int (or int and BNint)
- BN to BN
- BN to int
- BN to BN
- BN to int
- BN to BN
- BN to int
- BN to BN
- BN to int
- BN to BN
- BN to int
- BN to BN
- BN to int
- BN()
- BN(string)
- BN(BN) (copy constructor)
- BN(short)
- BN(int)
- BN(long long)
- BN(double)
- BN(string, string)
- denominator is 10^n
- other numerator and denominator (e.g 1/3, 3/7)
- compare numerator (both denominator are 1)
- make denominator be same and compare
TODO
- !(a == b)
- integer compare (both denominator are 1)
- make denominator be same and compare
TODO
- (a > b || a == b)
- !(a > b || a == b)
- !(a > b)
basic addition for integer
basic substruction for integer
basic multipication for integer
basic division for integer
return |num|
return 1/num
return gcd
return lcm
return base ^ num
return num!
return if the power number valid (0.5 * n and n is integer)
make num be irreducible fraction (3/6 -> 1/2)
infix to postfix and check equation is valid or not
[variable name]=[number or expression]
[variable name]=[number or expression]
[variable name]
get variable
[variable name]
delete variable
list all variable and it's value
clear all variable