summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-headers/math.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/doc/posix-headers/math.texi')
m---------gnulib0
-rw-r--r--gnulib/doc/posix-headers/math.texi38
2 files changed, 38 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/doc/posix-headers/math.texi b/gnulib/doc/posix-headers/math.texi
new file mode 100644
index 0000000..d181f76
--- /dev/null
+++ b/gnulib/doc/posix-headers/math.texi
@@ -0,0 +1,38 @@
+@node math.h
+@section @file{math.h}
+
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html}
+
+Gnulib module: math
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+The conversion from @code{int} to @code{long double} in incorrect on some
+platforms:
+glibc 2.7 on Linux/SPARC64.
+
+@item
+The macro @code{NAN} is not defined on some platforms:
+OpenBSD 4.0, AIX 5.1, IRIX 6.5, OSF/1 5.1.
+
+@item
+The macro @code{NAN} is not exposed outside of C99 compilation on some
+platforms:
+glibc.
+
+@item
+The macros @code{NAN} and @code{HUGE_VAL} expand to a function address
+rather than a floating point constant on some platforms:
+Solaris 10.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+@code{NAN} is not a compile time constant with some compilers:
+OSF/1 with Compaq (ex-DEC) C 6.4.
+@item
+The macro or variable @code{math_errhandling} is not defined on some platforms:
+glibc 2.11, OpenBSD 4.9, NetBSD 5.1, UP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin 1.7.9, mingw, MSVC 9.
+@end itemize