summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/int_big_mul.py
blob: f8d3dcd8007213c00c1005d5f264eddf5d3e5683 (plain) (blame)
1
2
3
4
5
6
7
8
# tests transition from small to large int representation by multiplication
for rhs in range(2, 11):
    lhs = 1
    for k in range(100):
        res = lhs * rhs
        print(lhs, '*', rhs, '=', res)
        lhs = res