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
<moritz> p6: say (-8) div 3
<p6eval> ..niecza v16-23-gaa61ed5: OUTPUT«-3»
<p6eval> ..rakudo 2a962e: OUTPUT«-2»
<masak> huh!
<masak> I think Rakudo is right here.
<masak> it's truncate-towards-0, not round-down semantics.
* masak submits nieczabug
<sisar> masak: no. the spec says "In general, div should give the same
result as: $x div $y == floor($x/$y) "
<masak> oh!
* masak unsubmits the nieczabug and submits rakudobug
Migrated from rt.perl.org#112678 (status was 'resolved')
Searchable as RT112678$
The text was updated successfully, but these errors were encountered: