Why is there no Math.ceilDiv?

Stephen Colebourne scolebourne at joda.org
Thu Aug 4 14:01:58 UTC 2016

On 31 July 2016 at 20:45, Philipp Nowak <philipp at nowak-at.net> wrote:
> 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()

floorDiv() was added as part of creating java.time, which had no need
for a ceilDiv() method.


More information about the core-libs-dev mailing list