[SR-13471] Mismatch between behavior of quotientAndRemainder and docs #55913
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 2a0e1889343aa507c042bce8bf12577a
Issue Description:
According to https://developer.apple.com/documentation/swift/binaryinteger/3017639-quotientandremainder,
> A tuple containing the quotient and remainder of this value divided by rhs. The remainder has the same sign as rhs.
However, running it shows that's not the case:
Is there an implementation bug here or a documentation bug?
The text was updated successfully, but these errors were encountered: