Max Alekseyev on Mon, 25 Oct 2021 23:02:26 +0200


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

sqrtint() on non-integer arguments


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.

Same applies to sqrtnint().

Thanks,
Max