Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2003 01:33:36 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Dag-Erling Smorgrav <des@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/msun/src fabsl.c
Message-ID:  <20031024083336.GA10360@VARK.homeunix.com>
In-Reply-To: <200310230820.h9N8KlSD025966@repoman.freebsd.org>
References:  <200310230820.h9N8KlSD025966@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031024083336.GA10360>