NetBSD-Bugs archive

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

Re: lib/59811: strpct round-off error



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