Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/arecker/corefx into fix-m…
Browse files Browse the repository at this point in the history
…ath-pi
  • Loading branch information
mellinoe committed Nov 14, 2014
2 parents f4169b3 + bfd7719 commit 9bdc8c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/System.Numerics.Vectors/tests/MathHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ namespace System.Numerics
static class MathHelper
{
public const float Pi = (float)Math.PI;
public const float PiOver2 = (float)Math.PI / 2f;
public const float PiOver4 = (float)Math.PI / 4f;
public const float PiOver2 = Pi / 2f;
public const float PiOver4 = Pi / 4f;


// Angle conversion helper.
public static float ToRadians(float degrees)
{
return degrees * (float)Math.PI / 180f;
return degrees * Pi / 180f;
}


Expand Down

0 comments on commit 9bdc8c5

Please sign in to comment.