NetBSD-Bugs archive

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

Re: lib/56148: lib/libc/stdio/t_printf:snprintf_float test randomly fails



I am not aware of any libc implementations that don't allocate memory to do double-to-ascii conversions.
From what I've seen Solaris does the best here calling malloc only in __big_float_times_power().
I don't see us replacing gdtoa anytime soon, so we should probably document this in the snprintf() man pages.
We could also file a bug report with opengroup/posix to make ENOMEM legal for floating point conversions.

christos

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index