Package: glibc-doc
Version: 2.1.3-10

In libc.info, node Rounding Functions:

--clip--

 - Function: double trunc (double X)
 - Function: float truncf (float X)
 - Function: long double truncl (long double X)
     `trunc' is another name for
`floor'                                        

--clip--

While `trunc' is obviously not another name for `floor':

trunc(-1.5) == -1.0
floor(-1.5) == -2.0

I'm using Debian Potato.

-- 
Santtu Hyrkk�
Software Engineer, R&D, Ztango.com
E-mail: [EMAIL PROTECTED]
Tel.: +358 50 384 8451


Reply via email to