Why is there no Math.ceilDiv?

Brian Burkhalter brian.burkhalter at oracle.com
Mon Aug 1 18:37:01 UTC 2016


Hello Philipp,

On Jul 31, 2016, at 12:45 PM, Philipp Nowak <philipp at nowak-at.net> wrote:

> 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.

The is the correct forum.

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

I think simply because it was not requested.

> 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?

Issues may be reported via JBS [1] if you have an account [2]. Otherwise they may be reported at [3].

Regards,

Brian

[1] https://bugs.openjdk.java.net/secure/Dashboard.jspa
[2] https://wiki.openjdk.java.net/display/general/JBS+Overview
[3] http://bugs.java.com

> Best regards,
> 
> Philipp Nowak
> 
> ​[1] https://bugs.openjdk.java.net/browse/JDK-8023217​



More information about the core-libs-dev mailing list