mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Automatically add spaces to binary operators (>>)
command: sed -E "s/([[:alnum:]]) >> ([[:alnum:]])/\1 >> \2/g" -i **/*.d sed -E "s/([[:alnum:]])>> ([[:alnum:]])/\1 >> \2/g" -i **/*.d sed -E "s/([[:alnum:]]) >>([[:alnum:]])/\1 >> \2/g" -i **/*.d
This commit is contained in:
parent
ef7be4b60d
commit
203755d296
6 changed files with 21 additions and 21 deletions
|
@ -2327,7 +2327,7 @@ private template TimSortImpl(alias pred, R)
|
|||
size_t minRunLength()(size_t n)
|
||||
{
|
||||
immutable shift = bsr(n)-5;
|
||||
auto result = (n>>shift) + !!(n & ~((1 << shift)-1));
|
||||
auto result = (n >> shift) + !!(n & ~((1 << shift)-1));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue