Opened 9 years ago

Closed 9 years ago

#11965 closed defect (fixed)

dojox/calc: 2^3.1 seems to hang

Reported by: Douglas Hays Owned by: jason_hays22
Priority: high Milestone: 1.6
Component: Dojox Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

Run test_GraphPro.html and immediately enter 23.1
This seems to take forever (30 seconds) to execute.
Do the same with test_Standard.html and it's fast.

Attachments (1)

11965.patch (1.8 KB) - added by jason_hays22 9 years ago.
I made toFrac's pow function use the standard Math.pow for positive bases. Also, Grapher was not erasing multi-segment graphs properly because the erase() loop did not increment variable "nameNum" Also, Standard now outputs "Not a Number" (rather than nothing) if there was invalid input such as (-27)(3/2). CLA

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by jason_hays22

Attachment: 11965.patch added

I made toFrac's pow function use the standard Math.pow for positive bases. Also, Grapher was not erasing multi-segment graphs properly because the erase() loop did not increment variable "nameNum" Also, Standard now outputs "Not a Number" (rather than nothing) if there was invalid input such as (-27)(3/2). CLA

comment:1 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [23239]) Fixes #11965. Proxy commit for jason_hays22 (CLA on file). No longer waits for toFrac to finish initing when the fraction is positive.

Note: See TracTickets for help on using tickets.