Ticket #5560 (closed defect: wontfix)

Opened 7 years ago

Last modified 6 years ago

Sometimes a heading value represents zero, but it is not zero.

Reported by: Kazuhiro Abe Owned by: etoys
Priority: high Milestone:
Component: etoys-activity Version: 1.0-software-build-623
Keywords: Cc:
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

When I rotate an Ellipse with [Ellipse turn by 5], I can control it by [Ellipse's heading = 0] with a test tile. But when I change the turn value from 5 to 1, it's never controlled by that condition. It always returns "false". See attachment project.

Attachments

zeroIsNotZero.001.pr (42.1 kB) - added by Kazuhiro Abe 7 years ago.

Change History

Changed 7 years ago by Kazuhiro Abe

Changed 7 years ago by ohshima

  • status changed from new to closed
  • resolution set to wontfix

This is the standard issue with floating point numbers. (repeat "x increase by: 0.1" 10 times you don't get something that is equal to 1.0.)

We have rounded function in tiles. Until we create a new system that honors decimal numbers and user specified values in a better way, this is "wontfix".

Changed 6 years ago by gregorio

  • milestone deleted

Milestone Never Assigned deleted

Note: See TracTickets for help on using tickets.