Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: lib/runtime/dart/math.js

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix core.Symbol reference Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 var math; 1 var math, core, _js_helper;
2 (function(exports) { 2 (function(exports, core, _js_helper) {
3 'use strict'; 3 'use strict';
4 class _JenkinsSmiHash extends core.Object { 4 class _JenkinsSmiHash extends core.Object {
5 static combine(hash, value) { 5 static combine(hash, value) {
6 hash = 536870911 & dart.notNull(hash) + dart.notNull(value); 6 hash = 536870911 & dart.notNull(hash) + dart.notNull(value);
7 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); 7 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10);
8 return dart.notNull(hash) ^ dart.notNull(hash) >> 6; 8 return dart.notNull(hash) ^ dart.notNull(hash) >> 6;
9 } 9 }
10 static finish(hash) { 10 static finish(hash) {
11 hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) < < 3); 11 hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) < < 3);
12 hash = dart.notNull(hash) ^ dart.notNull(hash) >> 11; 12 hash = dart.notNull(hash) ^ dart.notNull(hash) >> 11;
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 exports.pow = pow; 453 exports.pow = pow;
454 exports.sin = sin; 454 exports.sin = sin;
455 exports.cos = cos; 455 exports.cos = cos;
456 exports.tan = tan; 456 exports.tan = tan;
457 exports.acos = acos; 457 exports.acos = acos;
458 exports.asin = asin; 458 exports.asin = asin;
459 exports.atan = atan; 459 exports.atan = atan;
460 exports.sqrt = sqrt; 460 exports.sqrt = sqrt;
461 exports.exp = exp; 461 exports.exp = exp;
462 exports.log = log; 462 exports.log = log;
463 })(math || (math = {})); 463 })(math || (math = {}), core, _js_helper || (_js_helper = {}));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698