Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max(double, double) is failing when 1st param is NaN #884

Closed
josesimoes opened this issue Nov 12, 2021 · 0 comments · Fixed by nanoframework/nf-interpreter#2148 or nanoframework/nf-interpreter#2149

Comments

@josesimoes
Copy link
Member

Details about Problem

.NET nanoFramework library: System.Math

Description

Detailed repro steps so we can see the same problem

Following code is outputting 10 when it should be NaN

res = Math.Max(double.NaN, 10);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants