<div dir="ltr"><div>I have some integer processing code that is called very intensively and need to be as fast as possible, I therefore use &amp;+ &amp;- &amp;/ &amp;* instead of + - / * which results in a significant speedup.</div><div><br></div><div>However, I also need to use % and I noticed that there is no &amp;% ... </div><div><br></div><div>That is, FixedWidthInteger has:</div><div>func remainderReportingOverflow(dividingBy: Self)</div><div><br></div><div>but there is no:</div><div>func unsafeRemainder(dividingBy: Self)</div><div><br></div><div>which is different from the other …ReportingOverflow-unsafe…-pairs:</div><div><br></div><div>func addingReportingOverflow(Self)<br></div><div><div></div></div><div>func subtractingReportingOverflow(Self)<br></div><div><div><div><div>func dividedReportingOverflow(by: Self)<br></div><div></div></div><div>func multipliedReportingOverflow(by: Self)<br></div><div><br></div><div></div><div>func unsafeAdding(Self)</div><div>func unsafeSubtracting(Self)</div><div>func unsafeMultiplied(by: Self)<br></div><div>func unsafeDivided(by: Self)<br></div><div><br></div></div></div><div>Is this intentional and if so why?</div><div><br></div><div>/Jens</div><div><br></div></div>