Date: Wed, 19 Feb 2003 11:54:01 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: standards@freebsd.org Subject: More missing math functions Message-ID: <xzpptpowng6.fsf@flood.ping.uio.no>
index | next in thread | raw e-mail
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
fdim(x, y) |x - y|
fma(x, y, z) x * y + z
fmax(x, y) x > y ? x : y
fmin(x, y) x < y ? x : y
log2(x) log_2(x)
nan(str) NaN The meaning of str is implementation-defined
nearbyint(x) rint(x) Unlike rint(), does not raise an exception
nexttoward(x, y)
nextafter(x, y) The second argument is a long double
remquo(x, y, *q)
remainder(x, y) Stores ((x / y) mod 2n) in *q (n >= 3)
DES
--
Dag-Erling Smorgrav - des@ofug.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpptpowng6.fsf>
