1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/math.texi (FP Function Optimization): Mention drawbacks.
This commit is contained in:
Ulrich Drepper 1999-07-28 19:45:27 +00:00
parent 9f097308c7
commit aa847ee5a4
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/math.texi (FP Function Optimization): Mention drawbacks.
1999-07-28 Ulrich Drepper <drepper@cygnus.com> 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
* stdlib/mblen.c: Use static state. * stdlib/mblen.c: Use static state.

View File

@ -1730,6 +1730,10 @@ are necessary. This increases the speed significantly. But the
drawback is that the code size increases and this increase is not always drawback is that the code size increases and this increase is not always
neglectable. neglectable.
The speed increase has one drawback: the inline functions might not set
@code{errno} and might not have the same precission as the library
functions.
In cases where the inline functions and macros are not wanted the symbol In cases where the inline functions and macros are not wanted the symbol
@code{__NO_MATH_INLINES} should be defined before any system header is @code{__NO_MATH_INLINES} should be defined before any system header is
included. This will make sure only library functions are used. Of included. This will make sure only library functions are used. Of