0 Replies Latest reply on Jul 8, 2008 9:55 AM by (Erik_Tierney)

    [svn] 2392: Fix bug ASC-3460

      Revision: 2392
      Author: tierney@adobe.com
      Date: 2008-07-08 10:55:02 -0700 (Tue, 08 Jul 2008)

      Log Message:
      -----------
      Fix bug ASC-3460

      Default to double math for constant folding when decimal feature is turned off. This fixes problems where the constant folding would compute certain values incorrectly. 1/30 would become 0 because it did integer math, now we just use Number math all the time.

      tamarin tests, flex checkintests pass

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/ASC-3460

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConstantEvaluator.java