Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename Bitwise::population_count to Bitwise::count_ones and add Bitwi…
…se::count_zeros These are inspired by the [functions in the Julia standard library](http://docs.julialang.org/en/release-0.2/stdlib/base/#Base.count_ones).
- Loading branch information
1 parent
0ba6d48
commit 79f52cf
Showing
10 changed files
with
91 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79f52cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at brendanzab@79f52cf
79f52cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging bjz/rust/count-ones = 79f52cf into auto
79f52cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bjz/rust/count-ones = 79f52cf merged ok, testing candidate = 2bba723
79f52cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4288
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/2130
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/2131
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4286
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3386
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3392
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4301
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3389
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3395
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4303
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3389
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3394
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3463
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1242
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4295
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3396
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3402
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4063
79f52cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 2bba723