arest.
> > Is it planned to provide a function (say mpq_get_d_nearest) for that?
> > I could contribute it, based on the code below (which does not deal with
> > subnormal numbers yet).
> >
> > We could also have rounding towards -infinity and +infinity, which
On Fri, 12 Apr 2013, Zimmermann Paul wrote:
the mpq_get_d function rounds towards zero (i.e., truncates).
In several applications, people usually prefer rounding to nearest.
Is it planned to provide a function (say mpq_get_d_nearest) for that?
I could contribute it, based on the code below
Hi,
the mpq_get_d function rounds towards zero (i.e., truncates).
In several applications, people usually prefer rounding to nearest.
Is it planned to provide a function (say mpq_get_d_nearest) for that?
I could contribute it, based on the code below (which does not deal with
subnormal