Bill Allombert on Tue, 26 Oct 2021 10:27:12 +0200


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

Re: sqrtint() on non-integer arguments


Le Mon, Oct 25, 2021 at 05:01:46PM -0400, Max Alekseyev a écrit :
> sqrtint() does not accept non-integer arguments such as t_REAL or t_FRAC.
> I think it'd be helpful if it did so, which is easy to archive by calling
> floor() before performing actual computation. I believe it used to work
> like this a while ago, but not anymore.

Well, I have tried all the versions starting with 2.0.18 and none of
them support t_REAL or t_FRAC.

Cheers,
Bill.