bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lib C, rounding function, modf


From: Ulrich Drepper
Subject: Re: lib C, rounding function, modf
Date: 15 Mar 2002 22:34:49 -0800

On Tue, 2002-03-12 at 05:57, address@hidden wrote:
> 
> In the documentation of modf (arithmetic rounding function) :
> "These functions break the argument VALUE into an integer part and a 
> fractional
> part (between `-1' and `1', exclusive)"
> 
> The value are, in fact, between '-1', inclusive, and '1' exclusive. That means
> that the "inclusive" word apply only to the '1' in the documentation. Is that 
> ok ?

-1 and 1 should both be exclusive.  In both cases the return value
should be different and the fractional part 0.

If the implementation behaves different report this.  And please use the
glibcbug script.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]