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] |
Consider an application which configure script checks for the existence of the fenv.h header and functions defined therein. It will find that the header exists and that, for instance, the function fesetround exists, too. However, the fesetround will always return -1. This might result in some applications not being buildable anymore in a working way.
Wouldn't it be better to fake the "set"-type functions to always succeed?
"The fesetround function returns zero if and only if the requested rounding direction was established."
Or, to drop the definitions of the set functions entirely?
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |