Math.toIntExact why only long?

Andrey Turbanov turbanoff at gmail.com
Wed Nov 13 12:08:04 UTC 2024


I wounder, why java.lang.Math.toIntExact accepts only long parameter?
I think it will quite useful to have it with float/double parameters too.

Andrey Turbanov


More information about the core-libs-dev mailing list