[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/sak-codes/lpython/main/tests/expr7.py [Back]  [Original]

from ltypes import i32
def test_pow():
    a: i32
    a = i32(pow(2, 2))

def test_pow_1(a: i32, b: i32) -> i32:
    res: i32
    res = i32(pow(a, b))
    return res

def main0():
    test_pow()
    c: i32
    c = test_pow_1(1, 2)

main0()

Web Proxy Viewer  |  New URL  |  Original Page