[all-commits] [llvm/llvm-project] e59394: [flang] Fine-tune NAN formatted input editing
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Mar 28 12:55:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e593940be42862402daab166df1a33a8e86960ae
https://github.com/llvm/llvm-project/commit/e593940be42862402daab166df1a33a8e86960ae
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-03-28 (Tue, 28 Mar 2023)
Changed paths:
M flang/lib/Decimal/big-radix-floating-point.h
M flang/lib/Decimal/decimal-to-binary.cpp
M flang/runtime/edit-output.cpp
Log Message:
-----------
[flang] Fine-tune NAN formatted input editing
Per Fortran 2018, "NAN" and "NAN()" are to be translated into quiet
NaNs, and the other forms are implementation-dependent; I've made
them quiet NaNs too. Also process signs on input NaNs, which seems
wrong but other compilers all do it, and fix some misleading template
argument names noticed along the way.
Differential Revision: https://reviews.llvm.org/D147071
More information about the All-commits
mailing list