view doc/posix-functions/roundl.texi @ 15295:ad0991531a64

roundl-ieee: Fix test failure on AIX 7.1. * m4/roundl.m4 (gl_FUNC_ROUNDL): Test also the sign of roundl (-0.3L). * doc/posix-functions/roundl.texi: Mention problem with negative arguments.
author Bruno Haible <bruno@clisp.org>
date Sun, 19 Jun 2011 15:05:39 +0200
parents 46007e663235
children 847372253549
line wrap: on
line source

@node roundl
@section @code{roundl}
@findex roundl

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/roundl.html}

Gnulib module: roundl or roundl-ieee

Portability problems fixed by either Gnulib module @code{roundl} or @code{roundl-ieee}:
@itemize
@item
This function is missing on some platforms:
FreeBSD 5.2.1, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 4.0, Solaris 9, Cygwin, Interix 3.5, BeOS.
@item
This function is not declared on some platforms:
glibc 2.8, OSF/1 5.1.
@end itemize

Portability problems fixed by Gnulib module @code{roundl-ieee}:
@itemize
@item
This function returns a positive zero for an argument between -0.5 and 0
on some platforms:
AIX 7.1.
@item
This function returns a positive zero for a minus zero argument
on some platforms:
OSF/1 5.1.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize