ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaliy Biryukov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5859) IgniteUtils.ceilPow2 overflow for values greater than 2^30
Date Thu, 27 Jul 2017 17:13:00 GMT
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)

Mime
View raw message