Branch: refs/heads/master
Home: https://github.com/dlang/phobos
Commit: 087ac0b113c697b0ad558f550aa2de8390df45ec
https://github.com/dlang/phobos/commit/087ac0b113c697b0ad558f550aa2de8390df45ec
Author: tsbockman <thomas.bock...@gmail.com>
Date: 2016-06-04 (Sat, 04 Jun 2016)
Changed paths:
M std/math.d
Log Message:
-----------
Add `std.math.isPowerOf2()`. Supports both floating and integral types.
Commit: 18d1b436e4d0f14c4f483e26b416423ec24ef584
https://github.com/dlang/phobos/commit/18d1b436e4d0f14c4f483e26b416423ec24ef584
Author: tsbockman <thomas.bock...@gmail.com>
Date: 2016-06-04 (Sat, 04 Jun 2016)
Changed paths:
M std/algorithm/iteration.d
M std/experimental/allocator/building_blocks/affix_allocator.d
M std/experimental/allocator/building_blocks/bitmapped_block.d
M std/experimental/allocator/building_blocks/region.d
M std/experimental/allocator/common.d
M std/numeric.d
M std/uni.d
Log Message:
-----------
Update Phobos to use the new `std.math.isPowerOf2()` everywhere.
`std.uni` looks like it may depend upon its local `isPowerOf2()` implementation
to return `true` for `0`. Since the semantics are different from the standard
version, I have renamed it to `isPow2OrZero()` to avoid confusion.
Commit: 7172eda4667b555b363535ee9342035b7619c3e3
https://github.com/dlang/phobos/commit/7172eda4667b555b363535ee9342035b7619c3e3
Author: Andrei Alexandrescu <and...@erdani.com>
Date: 2016-06-16 (Thu, 16 Jun 2016)
Changed paths:
M std/algorithm/iteration.d
M std/experimental/allocator/building_blocks/affix_allocator.d
M std/experimental/allocator/building_blocks/bitmapped_block.d
M std/experimental/allocator/building_blocks/region.d
M std/experimental/allocator/common.d
M std/math.d
M std/numeric.d
M std/uni.d
Log Message:
-----------
Merge pull request #4327 from tsbockman/isPowerOf2
Add `std.math.isPowerOf2()`. Supports floating-point and integers.
Compare: https://github.com/dlang/phobos/compare/31c595c820cb...7172eda4667b
_______________________________________________
phobos mailing list
phobos@puremagic.com
http://lists.puremagic.com/mailman/listinfo/phobos