couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Lenz (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-227) Large Number Support Bug
Date Wed, 22 Jul 2009 21:45:14 GMT

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

Christopher Lenz resolved COUCHDB-227.
--------------------------------------

    Resolution: Won't Fix

This is due to Javascript numbers using a floating point representation internally. There's
nothing we can do about this until true decimal support gets added to the ECMAScript standard
(or at least SpiderMonkey).

> Large Number Support Bug
> ------------------------
>
>                 Key: COUCHDB-227
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-227
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Administration Console, JavaScript View Server
>            Reporter: Adam Kocoloski
>
> It looks like SpiderMonkey rounds large integers.  To reproduce,  create a document in
Futon with a field value
> 9999999999999999
> Futon will round this to 10000000000000000.  Or, create a document with that field value
by some other means and then emit the field in a view.  The document will have the correct
value for the field, but the value in the view will be wrong.

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


Mime
View raw message