Skip to content

Commit

Permalink
back out builtins/Math.es patch accidentally applied
Browse files Browse the repository at this point in the history
--HG--
branch : com.mozilla.es4.smlnj
extra : convert_revision : 33f12ea90f3c10d1006f279a5d81c023aa603c2c
  • Loading branch information
graydon committed Nov 30, 2007
1 parent 4fac277 commit 35cb56d
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions builtins/Math.es
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,7 @@ package MathInternals
}
}

// 15.8.1 Value Properties of the Math Object. These are
// {DD,DE,RO}. Fixme, ticket #81. See redeclaration of these
// outside package, below.
// 15.8.1 Value Properties of the Math Object. These are {DD,DE,RO}.
public const E: double = double.E;
public const LN10: double = double.LN10;
public const LN2: double = double.LN2;
Expand Down Expand Up @@ -702,18 +700,6 @@ package
// and #90.

public var Math = intrinsic::Math;

// 15.8.1 Value Properties of the Math Object. These *should be* {DD,DE,RO}.
// and should probably be set above in MathInternals, but the use of 'public'
// there refers to the public namespace of MathInternals. See ticket #81.
Math.public::E = double.E;
Math.public::LN10 = double.LN10;
Math.public::LN2 = double.LN2;
Math.public::LOG2E = double.LOG2E;
Math.public::LOG10E = double.LOG10E;
Math.public::PI = double.PI;
Math.public::SQRT1_2 = double.SQRT1_2;
Math.public::SQRT2 = double.SQRT2;

Math.public::abs =
function (x) intrinsic::Math.intrinsic::abs(x);
Expand Down

0 comments on commit 35cb56d

Please sign in to comment.