Open Bug 621061 Opened 9 years ago Updated 5 years ago

shell: need primitive for returning integer-valued double

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set

Tracking

()

People

(Reporter: vlad, Unassigned)

Details

See bug 612334 comment 22 -- for functions that need integers, it's helpful to be able to return a double that has an integer value to make sure that the right thing happens.  Currently, Math.sqrt(4) can be used for this purpose, but in case that changes it would be useful to have a consistent way to do this.
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.