openGPMP
Open Source Mathematics Package
Functions
python.arithmetic Namespace Reference

Functions

def main ()
 

Function Documentation

◆ main()

def python.arithmetic.main ( void  )

Definition at line 5 of file arithmetic.py.

5 def main():
6  b = ar.Basics()
7 
8  r1 = b.op_gcd(1703210, 20320)
9  r2 = b.op_gcd(2198466, 96096)
10  r3 = b.greatest_power(232, 96)
11  r4 = b.greatest_power(10, 3)
12 
13  print(r1)
14  print(r2)
15  print(r3)
16  print(r4)
17 
18