llvm/flang/runtime
peter klausler 6fec2c4402 [flang] Fix x87 binary->decimal
Summary:
Fix decimal formatting of 80-bit x87 values; the calculation ofnearest neighbor values failed to account for the explicitmost significant bit in that format.

Replace MultiplyByRounded with MultiplyBy in binary->decimal conversions,
since rounding won't happen and the name was misleading; then remove
dead code, and migrate LoseLeastSignificantDigit() from one source file
to another where it's still needed.

Reviewers: tskeith, sscalpone, jdoerfert, DavidTruby

Reviewed By: tskeith

Subscribers: llvm-commits, flang-commits

Tags: #flang, #llvm

Differential Revision: https://reviews.llvm.org/D79345
2020-05-04 12:04:08 -07:00
..
allocatable.cpp [flang] Define CHARACTER runtime API, establish placeholder implementations 2020-04-02 09:38:25 -07:00
allocatable.h [flang] Define CHARACTER runtime API, establish placeholder implementations 2020-04-02 09:38:25 -07:00
buffer.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
buffer.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
c-or-cpp.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
character.cpp [flang] More CHARACTER runtime support + unit test 2020-04-24 14:34:51 -07:00
character.h [flang] More CHARACTER runtime support + unit test 2020-04-24 14:34:51 -07:00
CMakeLists.txt [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
config.h.cmake [flang] Support platforms without strerror_r 2020-03-28 16:46:43 -05:00
connection.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
connection.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
derived-type.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
derived-type.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
descriptor.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
descriptor.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
edit-input.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
edit-input.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
edit-output.cpp [flang] Fix x87 binary->decimal 2020-05-04 12:04:08 -07:00
edit-output.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
entry-names.h [flang] Drill down to a working implementation of the APIs for an 2020-01-24 12:33:47 -08:00
environment.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
environment.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
file.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
file.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
format-implementation.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
format.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
format.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
internal-unit.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
internal-unit.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-api.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-api.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-error.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-error.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-stmt.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-stmt.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
iostat.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
iostat.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
ISO_Fortran_binding.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
lock.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
magic-numbers.h [flang] Use hash table for UnitMap, avoid C++ STL binary dependence 2020-03-11 13:23:39 -07:00
main.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
main.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
memory.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
memory.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
stop.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
stop.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
terminator.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
terminator.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
tools.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
tools.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
transformational.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
transformational.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
type-code.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
type-code.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
unit-map.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
unit-map.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
unit.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
unit.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00