NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/59811: strpct round-off error



The following reply was made to PR lib/59811; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kre%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
	jlduran%gmail.com@localhost
Subject: Re: lib/59811: strpct round-off error
Date: Tue, 2 Dec 2025 11:30:37 +0100

 On Tue, Dec 02, 2025 at 12:35:01AM +0000, Robert Elz via gnats wrote:
 >  Maybe we need variants of str[s]pct() with a flags arg to indicate which
 >  kind of rounding is desired, or would that be way over the top?
 
 I would certainly expect it to work according to fenv(3)/fesetround(3)
 global rounding mode.
 
 Martin
 


Home | Main Index | Thread Index | Old Index