fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 262: Count trailing zero bits
Idiom # 262: Count trailing zero bits
See
programming-idioms.org
:
Code
t := n.trailing_zeros
What are effects?
Running Example
ex262 => n := 112 t := n.trailing_zeros say t
What are effects?
last changed: 2024-07-01
next: Idiom # 263: Integer logarithm in base 2