llvm-project
bae35770 - [flang] Define ERF, ERFC and ERFC_SCALED intrinsics with Q and D prefix (#125217)

Commit
186 days ago
[flang] Define ERF, ERFC and ERFC_SCALED intrinsics with Q and D prefix (#125217) `ERF`, `ERFC` and `ERFC_SCALED` intrinsics prefixed by `Q` and `D` are missing. Codes such as `CP2K`(https://github.com/cp2k/cp2k) and `TurboRVB`(https://github.com/sissaschool/turborvb) use these intrinsics just like defined in the GNU standard and here: https://www.ibm.com/docs/fr/xl-fortran-aix/16.1.0?topic=reference-intrinsic-procedures These intrinsics are based on the existing intrinsics but apply a restriction on the type kind. - `DERF`, `DERFC` and `DERFC_SCALED` are for double précision only. - `QERF`, `QERFC` and `QERFC_SCALED` are for quad précision only.
Author
Parents
Loading