tcpdump mailing list archives

Re: POSIX and float rounding


From: Guy Harris <gharris () sonic net>
Date: Thu, 19 Mar 2026 12:13:29 -0700

In any case, given all this mishegoss, the right answer is probably to have the script see how the floating-point value 
0.5 is printed with %.0f, and choose which test to perform based on that, in the hopes that whatever rounding the 
scripting program does matches what tcpdump will do.
_______________________________________________
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: