ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaliy Biryukov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5859) IgniteUtils.ceilPow2 overflow for values greater than 2^30
Date Sat, 29 Jul 2017 21:47:00 GMT

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

Vitaliy Biryukov  commented on IGNITE-5859:
-------------------------------------------

[~avinogradov], [~chief], Done.
http://ci.ignite.apache.org/viewLog.html?buildId=744804&tab=buildResultsDiv&buildTypeId=Ignite20Tests_RunAll

> 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