This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
BUGREPORT: documentation of define variable has wrong variable name _DOUBLE_IS_32_BITS should be _DOUBLE_IS_32BITS
- From: Mikael Lepistö <mikael dot lepisto at tut dot fi>
- To: newlib at sources dot redhat dot com
- Date: Fri, 04 Jul 2008 11:34:07 +0300
- Subject: BUGREPORT: documentation of define variable has wrong variable name _DOUBLE_IS_32_BITS should be _DOUBLE_IS_32BITS
newlib-1.16.0/newlib/libc/include/machine/ieeefp.h
Documentation in comments says:
_DOUBLE_IS_32_BITS
This is used on platforms that support double by using the
32-bit IEEE
float type.
however correct define constant name should be _DOUBLE_IS_32BITS. If
_DOUBLE_IS_32_BITS is set instead various float functions doesn't work
properly including printf("%f").
Mikael Lepistö