I have had a number of problems with Doubles lately in the simulator, but have not yet been able to deduct a specific test case.
Two problems:
I have a problem with the Math.atan(...) function, which only seems to be defined for Floats, but I think it have worked for Doubles sometimes as well. Hmm...
I have also seem problems in connection with the abs() method - which defined for both Doubles and Floats, but seems to fail occasionally for Doubles. More Hmmm
I typically get a report like this from the simulator:
Failed invoking <symbol>
Out Of Memory Error
@PC = 0x1000039e
@PC = 0x1000039e
@PC = 0x10000227
Out Of Memory Error
Out Of Memory Error
The PC mostly refers to lines where abs or atan is used, but may also sometimes refer to the Rez module.
If I "downgrade" my numbers to Floats (with toFloat()) everything seems to work just fine.
I think it might have something to do with String resources, but I'm not sure at all :D
I hope I can be more specific when I have some time to dive into the problem.