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
Change the overflow type of muls and mulu from bool to the underlying integer type. Since these functions are intended to be treated as intrinsics, the overflow can be easily obtained directly from the x86 mul / arm umull instruction.
pure nothrow @nogc@safe uint mulu(uint x, uint y, ref uint overflow);
pure nothrow @nogc@safe ulong mulu(ulong x, ulong y, ref ulong overflow);
pure nothrow @nogc@safe int muls(int x, int y, ref int overflow);
pure nothrow @nogc@safe long muls(long x, long y, ref long overflow);
The text was updated successfully, but these errors were encountered:
Răzvan Ștefănescu reported this on 2015-12-16T08:28:48Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=15454
Description
The text was updated successfully, but these errors were encountered: