[Bugs] #2332 UNSP: Trivial divide calculations generate results with rounding errors

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Sep 30 16:32:08 EDT 2010


#2332: Trivial divide calculations generate results with rounding errors
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  rwh                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Status_field:  New                        |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by greenfeld):

 Is Calculate using an arbitrary precision numeric engine {python's Decimal
 type}, or just doing floating point math via eval() or similar?

 If it is not doing the former, Calculate probably should do this, as at
 least a one other software calculator tool I know moved to an arbitrary
 precision approach to avoid these sorts of quirks.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2332#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list