RFC: fenv.h

Stefan Farfeleder stefanf at FreeBSD.org
Wed Jun 9 12:16:11 GMT 2004


On Wed, Jun 02, 2004 at 12:32:35AM -0700, David Schultz wrote:
> The following patch adds the fenv.h header to FreeBSD.  I would
> appreciate any reviews of these changes.  Descriptions of the various
> functions are included in the patch in the form of some manpages.

Thanks for committing this!

Just a small nit: Using inline functions with internal linkage to
implement standard library functions isn't 100% conforming.

7.1.2#6:
  Any declaration of a library function shall have external linkage.

7.1.4#2:
  Provided that a library function can be declared without reference to
  any type defined in a header, it is also permissible to declare the
  function and use it without including its associated header.

Stefan


More information about the freebsd-standards mailing list