[PATCH] D143074: [LangRef] improve documentation of SNaN in the default FP environment

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 08:04:52 PST 2023


kpn added a comment.

In D143074#4106277 <https://reviews.llvm.org/D143074#4106277>, @sepavloff wrote:

> The property of SNaN like `SNan + 0.0 -> QNaN` is not related to exceptions and must be preserved in default environment also.

Agreed. Your example of `SNan + 0.0 -> QNaN` is an "operation". It affects the environment (raises status flags, for example) but is not a part of the environment. That's my understanding, anyway. I'm happy to be corrected.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143074/new/

https://reviews.llvm.org/D143074



More information about the llvm-commits mailing list