There are three levels of compatibility provided by CommonPoint interfaces:
Numerics.h
and FPEnvironment.h
. This is the topic of the previous section.fp.h
and fenv.h
can be used simultaneously with Numerics.h
and FPEnvironment.h
.math.h
, which can be used simultaneously with Numerics.h
and FPEnvironment.h
.fp.h
and fenv.h
supersede the Standard C math library and its header math.h
.
FPCE overloaded functions are not compatible with Standard C functions in math.h
. "Overloaded functions" on page 250 shows how math.h
can support up to three versions of the sine function--sinf, sin, and sinl--as opposed to the single FPCE function sin. You cannot compile with fp.h
and math.h
simultaneously, though each may be used with Numerics.h
, which avoids the name conflict.