[SR-8178] BinaryFloatingPoint.random(in range: Range<Self>)
can return range.upperBound
#50710
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Xcode 10 beta 3
Additional Detail from JIRA
md5: 83a421c73c3382bd6a76eed3617b3d1c
Issue Description:
BinaryFloatingPoint.random(in range: Range<Self>)
can returnrange.upperBound
(obviously out of range) for specificrange
.test code:
output:
The text was updated successfully, but these errors were encountered: