cvs commit: src/lib/msun/src fabsl.c
David Schultz
das at FreeBSD.ORG
Fri Oct 24 01:33:56 PDT 2003
On Thu, Oct 23, 2003, Dag-Erling Smorgrav wrote:
> des 2003/10/23 01:20:47 PDT
>
> FreeBSD src repository
>
> Added files:
> lib/msun/src fabsl.c
> Log:
> Implement fabsl(3), allowing the world to build with -fno-builtin.
[...]
> +long double
> +fabsl(long double x)
> +{
> + return (x < 0) ? -x : x;
> +}
Cool. This has a minor bug in that it does the wrong thing for -0.
More information about the cvs-src
mailing list