[Bugs] #2313 UNSP: Trap all math overflow errors in function block

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Sep 13 20:41:16 EDT 2010


#2313: Trap all math overflow errors in function block
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  walter                     
        Type:  defect                     |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |     Resolution:  fixed                      
    Keywords:                             |   Distribution:  Unspecified                
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------

Comment(by tonyforster):

 See also #2314, redundant math. brings in a different library
 math.log(0) and math.sqrt(-1) are trapped OK
 but
 log(0) is not trapped
 and
 sqrt(-1) returns NAN

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


More information about the Bugs mailing list