Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-10657] Document semantics for trailingZeroBitCount of 0 #53057

Closed
NevinBR opened this issue May 10, 2019 · 1 comment
Closed

[SR-10657] Document semantics for trailingZeroBitCount of 0 #53057

NevinBR opened this issue May 10, 2019 · 1 comment
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. documentation standard library Area: Standard library umbrella

Comments

@NevinBR
Copy link
Contributor

NevinBR commented May 10, 2019

Previous ID SR-10657
Radar None
Original Reporter @NevinBR
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, Documentation
Assignee @xwu
Priority Medium

md5: c9ce065621b1c9de34df267820ee04e6

Issue Description:

The trailingZeroBitCount property of BinaryInteger should be documented to return bitWidth when called on a value of zero.

Forum discussion

Declaration of trailingZeroBitCount

@stephentyrone
Copy link
Member

Xiaodi did this in #24713

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. documentation standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants