diff options
author | uqs <uqs@FreeBSD.org> | 2010-05-13 12:07:55 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-05-13 12:07:55 +0000 |
commit | 1ab3783e1a2e5231321a0fc5399736ddc70407f0 (patch) | |
tree | c699822393a0ad4134098c013ca4b4ea4e2f3108 /lib/msun/man | |
parent | 43b7e87f4317ace45532f012cea993a4d9d418f0 (diff) | |
download | FreeBSD-src-1ab3783e1a2e5231321a0fc5399736ddc70407f0.zip FreeBSD-src-1ab3783e1a2e5231321a0fc5399736ddc70407f0.tar.gz |
mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.
Found by: mdocml lint run
Reviewed by: ru
Diffstat (limited to 'lib/msun/man')
-rw-r--r-- | lib/msun/man/fenv.3 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/msun/man/fenv.3 b/lib/msun/man/fenv.3 index 728874e..aaea5f5 100644 --- a/lib/msun/man/fenv.3 +++ b/lib/msun/man/fenv.3 @@ -196,18 +196,6 @@ environment. The macro .Dv FE_DFL_ENV expands to a pointer to the default environment. -.Sh CAVEATS -The FENV_ACCESS pragma can be enabled with -.Dl "#pragma STDC FENV_ACCESS ON" -and disabled with the -.Dl "#pragma STDC FENV_ACCESS OFF" -directive. -This lexically-scoped annotation tells the compiler that the program -may access the floating-point environment, so optimizations that would -violate strict IEEE-754 semantics are disabled. -If execution reaches a block of code for which -.Dv FENV_ACCESS -is off, the floating-point environment will become undefined. .Sh EXAMPLES The following routine computes the square root function. It explicitly raises an invalid exception on appropriate inputs using @@ -274,6 +262,18 @@ It supersedes the non-standard routines defined in .In ieeefp.h and documented in .Xr fpgetround 3 . +.Sh CAVEATS +The FENV_ACCESS pragma can be enabled with +.Dl "#pragma STDC FENV_ACCESS ON" +and disabled with the +.Dl "#pragma STDC FENV_ACCESS OFF" +directive. +This lexically-scoped annotation tells the compiler that the program +may access the floating-point environment, so optimizations that would +violate strict IEEE-754 semantics are disabled. +If execution reaches a block of code for which +.Dv FENV_ACCESS +is off, the floating-point environment will become undefined. .Sh BUGS The .Dv FENV_ACCESS |