The word "truncate" here is misleading. Clearly by truncate, we mean the
greatest integer <= op.

I don't know what needs to be changed, the documentation or the code. I'll
let Brian give his opinion on this.

Anyway, don't these functions exist in GMP? If so then we shouldn't change
the interface.

Bill.


On 27 June 2014 16:37, Alex Dyachenko <adya...@gmail.com> wrote:

> mpf_fits_ui, mpf_fits_ulong, mpf_fits_uint, and mpf_fits_ushort return
> false for any negative number.  They should return true for a number
> greater than -1, because it would truncate to zero.
>
> --
> You received this message because you are subscribed to the Google Groups
> "mpir-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mpir-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to mpir-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/mpir-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to