lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7289) Half floats
Date Mon, 23 May 2016 09:12:13 GMT

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

ASF subversion and git services commented on LUCENE-7289:
---------------------------------------------------------

Commit 3f358dda9c534b33d04184d7e900c2a785785f73 in lucene-solr's branch refs/heads/branch_6x
from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3f358dd ]

LUCENE-7289: Add HalfFloatPoint.


> Half floats
> -----------
>
>                 Key: LUCENE-7289
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7289
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-7289.patch, LUCENE-7289.patch
>
>
> When it comes to indexing floating-point data, doubles and floats are quite space-intensive
even though full precision is rarely needed. So maybe we should consider exposing half floats?
> Half floats have 5 bits for the exponent and 11 bits (including the implicit bit) for
the mantissa so the minimum value is ~6x10&#08;^−8^, the maximum is 65504 and they can
represent all integers between -2048 and 2048 accurately.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message