aa7e7eff5e
The switch between FMT_E and FMT_F is based on the absolute value. Set r=0 for rounding toward zero and r = 1 otherwise. If (exp_d - m) == 1 there is no rounding needed. libgfortran/ChangeLog: PR fortran/93567 * io/write_float.def (determine_en_precision): Fix switch between FMT_E and FMT_F. gcc/testsuite/ChangeLog: PR fortran/93567 * gfortran.dg/round_3.f08: Add test cases. |
||
---|---|---|
.. | ||
async.c | ||
async.h | ||
close.c | ||
fbuf.c | ||
fbuf.h | ||
file_pos.c | ||
format.c | ||
format.h | ||
inquire.c | ||
intrinsics.c | ||
io.h | ||
list_read.c | ||
lock.c | ||
open.c | ||
read.c | ||
size_from_kind.c | ||
transfer128.c | ||
transfer.c | ||
unit.c | ||
unix.c | ||
unix.h | ||
write_float.def | ||
write.c |