tcpdump mailing list archives
Re: POSIX and float rounding
From: Guy Harris <gharris () sonic net>
Date: Thu, 19 Mar 2026 10:34:35 -0700
On Mar 19, 2026, at 10:23 AM, Guy Harris <gharris () sonic net> wrote:
So, in the environment on your QNX box, the IEEE 754-2019 default appears *not* to be implemented, as it's doing roundTiesToAway.
https://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.neutrino_prog/posix_conformance.html
says
For the fprintf() function, the low-order digit rounding for numbers in double format is round-to-nearest.
and appears to be completely silent on which IEEE 754 "what about ties?" flavor it implements.
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Current thread:
- POSIX and float rounding Denis Ovsienko (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Denis Ovsienko (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Rick Jones via tcpdump-workers (Mar 19)
- Re: POSIX and float rounding Denis Ovsienko (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
- Re: POSIX and float rounding Guy Harris (Mar 19)
