Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To fix it, we implemented new versions of the two functions that produce consistent results on different machines. The problem has only been detected in 2 Source models, which happen to be 2 of the largest and most complicated. With the fix, we are now getting consistent results for both models, across different machines that were previously giving different results. There will be changes for Plugin developers to use the same functions we are using, instead of the inbuilt System.Math functions when using Pow or Exp.

We have approached Microsoft about the issue and they are yet to respond: 

https://developercommunity.visualstudio.com/content/problem/502519/mathpow-and-mathexp-produce-inconsistent-results.html

We  We recommend plugin developers to use the new implementations of the functions which are in the TIME.Science.ConsistentMaths class within the TIME assembly.

Words from Trudy: We have approached Microsoft about the issue and they are yet to respond: Microsoft Developer Community: Math.Pow and Math.Exp produce inconsistent results

This was a very difficult problem to isolate. and we a very happy that we found a solution!!



Jira Legacy
serverJIRA
serverIdc4ca6e0f-9f42-3d1a-879c-870abe699ab1
keyRM-17341

...