Kevin Ryde user42 at zip.com.au
Sun Jun 20 00:28:17 CEST 2004

Josh Liu <zliu2 at student.gsu.edu> writes:
> I want to know how the precision parameter comes into play as well.

Enough repetitions of a call are made to ensure 1 in prec accuracy,
having regard to the timebase unit.  For instance if it's microseconds
then the default precision is 1000 and enough repetitions are made to
take 1000 microseconds, ie. 1 millisecond.  See speed_measure in

> The other possibility is to do curve fitting of the time function

It's not necessarily very smooth.

Torbjorn Granlund <tg at swox.com> writes:
> minimizing a "badness" metric.

Yep.  Comments in tuneup.c.

More information about the gmp-discuss mailing list