[Bugs] #4382 Turtleart UNSP: mousex mousey do integer math

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jan 16 08:33:30 EST 2013


#4382: mousex mousey do integer math
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  walter                     
        Type:  defect                     |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |     Resolution:  notabug                    
    Keywords:                             |   Distribution:  Unspecified                
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------
Changes (by walter):

  * status:  new => closed
  * resolution:  => notabug


Comment:

 Not sure what the bug is here. mousex and mousey are ints, so in Python,
 you'll get an int when you divide. If you add flt(y)/x you get a
 fractional value. What are you expecting?

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


More information about the Bugs mailing list