a38603b0b5
fenv.h that are currently inlined. The definitions are provided in fenv.c via 'extern inline' declaractions. This assumes the compiler handles 'extern inline' as specified in C99, which has been true under FreeBSD since 8.0. The goal is to eventually remove the 'static' keyword from the inline definitions in fenv.h, so that non-inlined references all wind up pointing to the same external definition like they're supposed to. I am deferring the second step to provide a window where newly-compiled apps will still link against old math libraries. (This isn't supported, but there's no need to cause undue breakage.) Reviewed by: stefanf, bde
13 lines
143 B
Plaintext
13 lines
143 B
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
FBSD_1.0 {
|
|
fesetexceptflag;
|
|
feraiseexcept;
|
|
fegetenv;
|
|
feholdexcept;
|
|
feupdateenv;
|
|
feenableexcept;
|
|
fedisableexcept;
|
|
};
|