You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Jint version 3.0.0 Beta 2038 an incorrect double value is returned from a static method of the .NET type via interop. Moreover, this error occurs only in version for .NET Framework (everything works correctly in .NET Core). If you run the following console application:
The culprit was changes to method parameter scoring logic. Math.Max(float, float) was chosen instead of Math.Max(double, double) in this case and conversions were being made.
Hello!
In Jint version 3.0.0 Beta 2038 an incorrect double value is returned from a static method of the .NET type via interop. Moreover, this error occurs only in version for .NET Framework (everything works correctly in .NET Core). If you run the following console application:
Previous version (version 3.0.0 Beta 2037) and current version for .NET Core output a correct result:
Current version for .NET Framework outputs an incorrect result:
The text was updated successfully, but these errors were encountered: