ReadyTalk / avian

[INACTIVE] Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.
https://readytalk.github.io/avian/
Other
1.22k stars 172 forks source link

Added numberOfLeadingZeros method to Integer class #527

Closed MaartenR closed 7 years ago

MaartenR commented 7 years ago

Another small utility method that was needed for our project. This time the numberOfLeadingZeros method of the integer class. The source of the algorithm is included in a comment.