Date: Sun, 5 Nov 1995 14:47:20 -0800 (PST) From: Julian Elischer <julian@ref.tfs.com> To: bde@zeta.org.au (Bruce Evans) Cc: freebsd-hackers@freebsd.org, markd@grizzly.com Subject: Re: NPX still broken in 2.1.0-951104-SNAP... Message-ID: <199511052247.OAA05467@ref.tfs.com> In-Reply-To: <199511052144.IAA15439@godzilla.zeta.org.au> from "Bruce Evans" at Nov 6, 95 08:44:48 am
next in thread | previous in thread | raw e-mail | index | archive | help
but is it MORE broken than it is now to do this? surely such a simple change that might help some people is worth puting in now? > > This still fails for more-portable software that sets errno to 0 before > calling every math function and checks for errno being ERANGE or EDOM > after the call (this is the only error reporting mechanism guaranteed > in ANSI C). You can fix this by changing CFLAGS in libc/msun/Makefile > to the POSIX/ANSI setting recommended there (-D_POSIX_MODE), but then > acos(2.0) will return a stupid value (0 instead of NaN). > > Bruce >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511052247.OAA05467>