https://issues.dlang.org/show_bug.cgi?id=12958
--- Comment #10 from David Nadlinger <[email protected]> --- (In reply to bearophile_hugs from comment #9) > This looks like a case where this could be useful: > https://d.puremagic.com/issues/show_bug.cgi?id=13014 In theory, yes, but the problem is: What do you use as the reference implementation? The new implementation for detecting the overflow, trial division, is just about the simplest thing that can work. Of course, you could compare it with an inline asm implementation, but platform-specific tests for a platform-independent piece of code seem a bit strange. --
