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: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-mips/57680: printf("%.1f") shows wrong resultsonR3000mipseb
Date: Sat, 4 Nov 2023 12:05:08 +0100

 On Sat, Nov 04, 2023 at 10:20:01AM +0000, Izumi Tsutsui wrote:
 >  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 documented default mode and applications rely on
 that. The MD FPU context setup code needs to make sure this is what
 processes start with.
 
 Just switching the mode here because it works by chance for this example
 is not a good idea, we need to fully understand what goes wrong.
 
 Martin
 


Home | Main Index | Thread Index | Old Index