[LLVMdev] a question about constant fold for fdiv
Jeff Cohen
jeffc at jolt-lang.org
Thu Mar 22 16:58:52 PDT 2007
Jeff Cohen wrote:
>
> The standard apparently doesn't explicitly handle 0/0, but the
> position of the IEEE appears to be that it should yield a NaN of the
> appropriate sign. See
> http://standards.ieee.org/reading/ieee/interp/754-1985.html
OK, it does explicitly handle it. My reading comprehension seems to be
lacking right now :(
http://754r.ucbtest.org/standards/754xml.html#invalid-exception
The above lists all operations that yield a NaN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070322/eedc80e2/attachment.html>
More information about the llvm-dev
mailing list