poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / roundf.texi
blob8d440d68b5f9a8bc537447766ee651621d823a17
1 @node roundf
2 @section @code{roundf}
3 @findex roundf
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/roundf.html}
7 Gnulib module: roundf or roundf-ieee
9 Portability problems fixed by either Gnulib module @code{roundf} or @code{roundf-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, HP-UX 11, 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^-25}
19 on some platforms:
20 mingw.
21 @end itemize
23 Portability problems fixed by Gnulib module @code{roundf-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