[all-commits] [llvm/llvm-project] 6fec2c: [flang] Fix x87 binary->decimal
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon May 4 12:05:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6fec2c4402ce34edc5c27202422007b12bb25797
https://github.com/llvm/llvm-project/commit/6fec2c4402ce34edc5c27202422007b12bb25797
Author: peter klausler <pklausler at nvidia.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M flang/include/flang/Common/uint128.h
M flang/include/flang/Decimal/binary-floating-point.h
M flang/lib/Decimal/big-radix-floating-point.h
M flang/lib/Decimal/binary-to-decimal.cpp
M flang/lib/Decimal/decimal-to-binary.cpp
M flang/runtime/edit-output.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list