Skip to content

Commit

Permalink
Fix sqrt.
Browse files Browse the repository at this point in the history
  • Loading branch information
sodero authored and olasoder-work committed Feb 3, 2021
1 parent 975f949 commit fdae3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/math_sqrt.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ sqrt(double x)
}
else
{
result = 0;
result = NAN;
__set_errno(EDOM);
}

Expand Down

0 comments on commit fdae3ef

Please sign in to comment.