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