[jira] [Created] (IGNITE-5859) IgniteUtils.ceilPow2 overflow for values greater than 2^30

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-5859) IgniteUtils.ceilPow2 overflow for values greater than 2^30

Anton Vinogradov (Jira)
Vitaliy Biryukov  created IGNITE-5859:
-----------------------------------------

             Summary: IgniteUtils.ceilPow2 overflow for values greater than 2^30
                 Key: IGNITE-5859
                 URL: https://issues.apache.org/jira/browse/IGNITE-5859
             Project: Ignite
          Issue Type: Bug
            Reporter: Vitaliy Biryukov


Method "IgniteUtils.ceilPow2" can overflow for values greater than 2^30 and return Integer.MIN_VALUE for them.
Maybe this check was skipped for method speed. In this case, we need to add information about this into javaDoc.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)