[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


__SET_ERRNO__

If this flag is defined it will cause the standard math functions to set the global errno to either EDOM or ERANGE as specified in the 1989 C standard. The modern C standard specifies that setting errno for the mathlib is optional. So in the spirit of the new standard on x86 it is now optional.

Turning this off will improve performance by reducing checks for incorrect input values but will not set errno. Most of the standard math functions are now in the header math_x87.h.

Remarks:

Since these definitions are in a header file they can be configured when building your application and therefore you do NOT need to rebuild the library. This switch is on by default.


NOTE

This flag is only for Win32 x86 libraries.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000