ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yury Babak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5859) IgniteUtils.ceilPow2 overflow for values greater than 2^30
Date Fri, 28 Jul 2017 10:53:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-5859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104789#comment-16104789
] 

Yury Babak commented on IGNITE-5859:
------------------------------------

[~avinogradov] looks fine for me.

[~VitaliyB] please run all related tests on TC and link the result, just for avoid of regression.

> 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 
>            Assignee: Vitaliy Biryukov 
>         Attachments: CeilPow2Test.java
>
>
> 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