[Bugs] #3078 UNSP: Sin, cosine and tangent are expecting integers in Degrees mode (default)

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Sep 3 13:07:01 EDT 2011


#3078: Sin, cosine and tangent are expecting integers in Degrees mode (default)
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  rwh                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 If Calculate is set to Degrees mode (the default) it (incorrectly) expects
 an integer value for sin, cos, tangent. If you switch to Radians mode,
 floating point or integer values are accepted fine (thank goodness).

 {{{
 Error at 1: unsupported operand time (s) for *:'Decimal' and 'float'
 }}}

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


More information about the Bugs mailing list