HomePhabricator

[flang] Correct kP scaling on F output

Authored by klausler on Sep 30 2020, 1:04 PM.

Description

[flang] Correct kP scaling on F output

The sign of the scaling factor was misinterpreted for output
as meaning what it does for input. To be correct, they
should cancel each other out.

print '(1P,F4.3)', 1. ! printed 0.1 but should print 10.0

Differential revision: https://reviews.llvm.org/D88610

Details

Committed
klauslerOct 5 2020, 1:58 PM
Differential Revision
D88610: [flang] Correct kP scaling on F output
Parents
rG5d6d8a2769b3: [RISCV] Add SiFive cores to the CPU option
Branches
Unknown
Tags
Unknown