diff options
Diffstat (limited to 'flang/docs/ComplexOperations.md')
-rw-r--r-- | flang/docs/ComplexOperations.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/flang/docs/ComplexOperations.md b/flang/docs/ComplexOperations.md index 3ebeea5..1b6ec52 100644 --- a/flang/docs/ComplexOperations.md +++ b/flang/docs/ComplexOperations.md @@ -93,7 +93,9 @@ While [the same option in clang][2] allows specifying `promoted`, this is not implemented in Flang. Also, in the case of `improved`, clang does not handle NaN and infinite values, but Flang does. These behavioral differences arise because the transformation of complex division calculations depends on the implementation -of ComplexToStandard, which may change in the future. +of ComplexToStandard, which may change in the future. If you specify +`-ffast-math`, the lowering is the same as specifiying +`-fcomplex-arithmetic=basic`. [1]: https://discourse.llvm.org/t/rfc-change-lowering-of-fortran-math-intrinsics/63971 [2]: https://clang.llvm.org/docs/UsersManual.html#cmdoption-fcomplex-arithmetic |