This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17661] printf should output "nan" for some invalid floating point values
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 28 Nov 2014 17:06:08 +0000
- Subject: [Bug libc/17661] printf should output "nan" for some invalid floating point values
- Auto-submitted: auto-generated
- References: <bug-17661-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17661
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
See
<https://sourceware.org/glibc/wiki/Style_and_Conventions#Error_Handling>
for consensus on handling various erroneous inputs to glibc functions. In
line with that consensus, if anything special is done about such invalid
values (rather than just leaving them to whatever code only considering
valid values happens to produce) then it should abort the program.
--
You are receiving this mail because:
You are on the CC list for the bug.