Why is there no Math.ceilDiv?

Philipp Nowak philipp at nowak-at.net
Sun Jul 31 19:45:14 UTC 2016


I hope this is the right place to ask this question. If it is not, I would
kindly ask you to direct me to the correct place.

I was wondering why there is no Math.ceilDiv() method, when a floorDiv()
method got added in Java 8 through JDK-8023217 [1].

Is there any reason why such method did not get added with floorDiv(), and,
if not, is there any process to request such a method?

Best regards,

Philipp Nowak

​[1] https://bugs.openjdk.java.net/browse/JDK-8023217​

More information about the core-libs-dev mailing list