From OpenSCADAWiki
The difference in calculation time when directly calling a mathematical operation and from the JavaLikeCalc virtual machine is due to the effect of the frequency of the processor core (the frequency at which it works) and how a part of the command is executed before transferring it to the mathematical coprocessor and with the memory speed. The performance of a math coprocessor is usually not directly related to the performance and frequency of the processor core or memory speed.