NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-mips/57680: printf("%.1f") shows wrong resultsonR3000mipseb
The following reply was made to PR port-mips/57680; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: riastradh%NetBSD.org@localhost
Cc: gnats-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-mips/57680: printf("%.1f") shows wrong resultsonR3000mipseb
Date: Sun, 5 Nov 2023 03:05:04 +0900
> > I doubt this problem was really compiler issue and
> > I wonder if it's okay to assume "FE_TONEAREST" is default
> > because FE_TOZERO works.
>
> FE_TONEAREST is the correct default. This has been the standard in
> IEEE 754 since 1985; essentially all hardware since then will
> implement it as the default, and essentially all numerical software
> that relies on any rounding mode will rely on that as the default.
Even in case that libm is not linked?
Anyway, I'm a bit disgusted because everyone complains
"investigate and fix actual problem rather than temprary workaround"
without MD analysis.
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index