[Bugs] #2700 UNSP: Calculate significant digit calculations may be exponentializing Integer numbers one digit early

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Mar 16 16:17:36 EDT 2011


#2700: Calculate significant digit calculations may be exponentializing Integer
numbers one digit early
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  rwh                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  0.92.x                     
    Severity:  Minor                      |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  OLPC                       
   Seeta_dev:                             |  
------------------------------------------+---------------------------------
 1. Set Calculate to only show 6 digits in the result.
  2. Calculate the result of "1/3", which should be "0.333333" {6
 significant digits}.
  3. Calculate the result of "1e4", which should appear as "10000" {5
 significant digits, so to speak}
  4. "1000.119" results in "1000.11" {6 digits shown, although an
 interesting truncation.}
  5. Calculate the result of "1e5".  This appears as "1x10^5^", not
 "100000", which has 6 digits in it.  Is this correct, or are we refusing
 to show an extra digit for integer numbers where we would do so for
 decimal numbers?

 Again seen in Calculate 36.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2700>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list