Skip to content

Commit

Permalink
Remove the additional check from
Browse files Browse the repository at this point in the history
Math.Exp() to match dotnet/coreclr#4847.
  • Loading branch information
Tijoy Tom Kalathiparambil committed May 5, 2017
1 parent ce7dc78 commit e1797da
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/System.Private.CoreLib/src/System/Math.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,7 @@ public static double Log10(double d)

[Intrinsic]
public static double Exp(double d)
{
if (Double.IsInfinity(d))
{
if (d < 0)
return +0.0;
return d;
}
{
return RuntimeImports.exp(d);
}

Expand Down

0 comments on commit e1797da

Please sign in to comment.