Date: Thu, 20 Feb 2003 09:08:07 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Dag-Erling Smorgrav <des@ofug.org> Cc: standards@FreeBSD.ORG Subject: Re: More missing math functions Message-ID: <20030220085333.M14561-100000@gamplex.bde.org> In-Reply-To: <xzpptpowng6.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Feb 2003, Dag-Erling Smorgrav wrote: > Aside from long double support, we seem to be missing the following > math functions (and their float equivalents): > > Function Description Notes > ---------------------------------------------------------------------- > exp2(x) 2^x Documented but not implemented Not documented. I removed bogus .Nm's and links for exp2 and exp2f a while ago. You apparently have stale links. > fdim(x, y) |x - y| > ... > fmax(x, y) x > y ? x : y > fmin(x, y) x < y ? x : y At least in n869.txt, fmin() and fmax() are reqired to return the non-NaN arg if one of the args is a NaN. Someone whoe should know (Hauser?) objected to this in com.std.c. fdim() doesn't seem to be bug for bug compatible here. Anyway, a simple comparison might not be right here. > log2(x) log_2(x) Was bogusly documented like exp2. > ... Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030220085333.M14561-100000>