This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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ö


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]