You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Roger Chapman (JIRA)" <ji...@apache.org> on 2009/10/29 11:06:59 UTC

[jira] Updated: (LUCENENET-197) LongToPrefixCoded in NumericUtils does not work for negitive Numbers

     [ https://issues.apache.org/jira/browse/LUCENENET-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Chapman updated LUCENENET-197:
------------------------------------

    Attachment: NumericUtils.patch

> LongToPrefixCoded in NumericUtils does not work for negitive Numbers
> --------------------------------------------------------------------
>
>                 Key: LUCENENET-197
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-197
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Roger Chapman
>            Priority: Critical
>         Attachments: NumericUtils.patch
>
>
> long sortableBits = val ^ unchecked((uint) 0x8000000000000000L);  output is wrong due to unsigned long
> Patch attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.