gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / doc / posix-functions / round.texi
1 @node round
2 @section @code{round}
3 @findex round
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/round.html}
6
7 Gnulib module: round or round-ieee
8
9 Portability problems fixed by either Gnulib module @code{round} or @code{round-ieee}:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 FreeBSD 5.2.1, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, older IRIX 6.5, OSF/1 4.0, Solaris 9, MSVC 9, Interix 3.5.
14 @item
15 This function is not declared on some platforms:
16 glibc 2.8, IRIX 6.5, OSF/1 5.1.
17 @item
18 This functions returns a wrong result for @math{x = 1/2 - 2^-54}
19 on some platforms:
20 NetBSD 3.0, AIX 7.1.
21 @end itemize
22
23 Portability problems fixed by Gnulib module @code{round-ieee}:
24 @itemize
25 @item
26 This function returns a positive zero for an argument between @minus{}0.5 and 0
27 on some platforms:
28 AIX 7.1, OSF/1 5.1.
29 @item
30 This function returns a positive zero for a minus zero argument
31 on some platforms:
32 OSF/1 5.1.
33 @end itemize
34
35 Portability problems not fixed by Gnulib:
36 @itemize
37 @end itemize