Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Idiom # 32: Integer exponentiation by squaring

See programming-idioms.org:

Code







Running Example







Another version showing more results using wrap-around, staturating and overflow-checking versions: