[LTP] [PATCH] nextafter01: Check exact results and convert to new API

Petr Vorel pvorel@suse.cz
Tue Oct 20 12:06:41 CEST 2026


> Hi Petr,

> > ...
> > > +	if (ret == tc->exp) {
> > Hm, we still does not have TST_EXP_EQ_* variant for double.
> > Likely not worth of having it (not many tests comparing double).

> > Kind regards,
> > Petr

> actually I think it's a good idea, even if we don't have many examples
> like this one. Maybe we can skip it for this time, keeping an eye on
> patches to check for similar patterns.

+1, once we have it, people can start using it.

I suggest: Jan, feel free to merge as is and either send a separate patch to add
it or I send a patch to add it later (let's don't block a test rewrite unless
you have time to add TST_EXP_EQ_*).

Kind regards,
Petr


More information about the ltp mailing list