poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / round.texi
blobde5b907890755860fa097e5d66edc7bdc20ceef2
1 @node round
2 @section @code{round}
3 @findex round
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/round.html}
7 Gnulib module: round or round-ieee
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, Solaris 9, MSVC 9.
14 @item
15 This function is not declared on some platforms:
16 glibc 2.8, IRIX 6.5.
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
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.
29 @end itemize
31 Portability problems not fixed by Gnulib:
32 @itemize
33 @end itemize