← Back to index
|
Original Bugzilla link
Bug 21026 – add core.bitop.byteswap(ushort)
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-07-07T21:43:39Z
Last change time
2020-07-08T09:10:13Z
Keywords
performance, pull
Assigned to
No Owner
Creator
Walter Bright
Comments
Comment #0
by bugzilla — 2020-07-07T21:43:39Z
This is complements bswap(uint).
Comment #1
by dlang-bot — 2020-07-07T22:19:26Z
@WalterBright updated dlang/druntime pull request #3150 "add core.bitop.bswap(ushort)" fixing this issue: - fix Issue 21026 - add core.bitop.bswap(ushort)
https://github.com/dlang/druntime/pull/3150
Comment #2
by bugzilla — 2020-07-07T22:34:53Z
Because of overloading with bswap(uint), this breaks existing code. Rename to byteswap(ushort).
Comment #3
by dlang-bot — 2020-07-08T09:10:13Z
dlang/druntime pull request #3150 "fix Issue 21026 - add core.bitop.bswap(ushort)" was merged into master: - 43f21e81ccb63da1bd7638c55fa9e3d49409ba6c by Walter Bright: fix Issue 21026 - add core.bitop.byteswap(ushort)
https://github.com/dlang/druntime/pull/3150