Displaying 3 results from an estimated 3 matches for "c66185f3".
2013 Apr 06
0
[LLVMdev] Integer divide by zero
On Apr 5, 2013, at 8:02 PM, Cameron McInally <cameron.mcinally at nyu.edu> wrote:
> I'm less concerned about "where" the trap happens as I am about "if" it happens. For example, a Fortran program with division-by-zero is, by the Standard, non-conforming. Pragmatically, not a Fortran program. Rather than wrong answers, I would like to see a hard error indicating
2013 Apr 06
4
[LLVMdev] Integer divide by zero
...munity voicing interest. So, if no one speaks up and would
like to discuss further, I'll be happy to keep such a change in my local
branch.
-Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130406/c66185f3/attachment.html>
2013 Apr 06
4
[LLVMdev] Integer divide by zero
On Fri, Apr 5, 2013 at 6:49 PM, Joe Groff <arcata at gmail.com> wrote:
...
The platform is irrelevant; division by zero is undefined, and compilers
> are allowed to optimize as if it can't happen.
>
Understood.
I don't mean to nag, but I'm not arguing which is [more] correct: the
Standards or the platform. Both have their own merits. At least to me they
both have merits.