[Issue 12958] core.checkedint.mulu is broken
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Mon Jul 14 13:57:26 PDT 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=12958
--- Comment #10 from David Nadlinger <code at klickverbot.at> ---
(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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list