You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scala 2's primitive binary operations on Long that take Float (e.g. (x: Long) % (y: Float)) as an argument erroneously perform an operation in double precision, instead of float precision. This is inconsistent wrt Java semantics. Given that dotty reuses Scala 2's backend I expect it to have the same issue.
Uh oh!
There was an error while loading. Please reload this page.
Scala 2's primitive binary operations on Long that take Float (e.g.
(x: Long) % (y: Float)
) as an argument erroneously perform an operation in double precision, instead of float precision. This is inconsistent wrt Java semantics. Given that dotty reuses Scala 2's backend I expect it to have the same issue.More details on reproduction here: scala/bug#11253
The text was updated successfully, but these errors were encountered: