Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 12:00:10 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        standards@freebsd.org
Subject:   Re: More missing math functions
Message-ID:  <xzpn0kswn5x.fsf@flood.ping.uio.no>
In-Reply-To: <xzpptpowng6.fsf@flood.ping.uio.no> (Dag-Erling Smorgrav's message of "Wed, 19 Feb 2003 11:54:01 %2B0100")
References:  <xzpptpowng6.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> writes:
> Aside from long double support, we seem to be missing the following
> math functions (and their float equivalents):

Oomph, I pressed "send" before I was done.  There are three more
missing functions:

round(x)        rounds to nearest integer, rounds halfway cases away from zero
scalbln(x, n)   as scalbn(x, n), but n is a long int
trunc(x)        rounds toward zero

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




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