================ @@ -4609,6 +4609,22 @@ The pragma can take two values: ``on`` and ``off``. float v = t + z; } +``#pragma clang fp reciprocal`` allows control over using reciprocal +approximations in floating point expressions. When enabled, this +pragma allows the expression ``x / y`` to be approximated as ``x * +(1.0 / y)``. This pragma can be used to disable reciprocal +approximation when it is otherwise enabled for the translation unit +with the ``-fallow-reciprocal`` flag. The pragma can take two values: ---------------- andykaylor wrote:
```suggestion with the ``-freciprocal-math`` flag or other fast-math options. The pragma can take two values: ``` https://github.com/llvm/llvm-project/pull/68267 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits