cvs commit: src/lib/msun/src fabsl.c

David Schultz das at FreeBSD.ORG
Sat Oct 25 11:37:39 PDT 2003

On Fri, Oct 24, 2003, Dag-Erling Smrgrav wrote:
> David Schultz <das at FreeBSD.ORG> writes:
> > Cool.  This has a minor bug in that it does the wrong thing for -0.
> I'd like to use your solution[1] instead, but it requires quite a bit
> more work as fpmath.h isn't normally installed.

As I recall, the only reason fpmath.h was kept internal to libc
rather than being placed in ${arch}/include was to prevent
applications from using it.

In any case, your simple solution works just fine, modulo the -0
handling.  If anyone has a good idea about what to do with
fpmath.h, the implementation can be changed later.

More information about the cvs-src mailing list