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

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: rebase and format 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
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var math; 1 var math = dart.defineLibrary(math, {});
2 (function(exports) { 2 var core = dart.import(core);
3 var _js_helper = dart.lazyImport(_js_helper);
4 (function(exports, core, _js_helper) {
3 'use strict'; 5 'use strict';
4 class _JenkinsSmiHash extends core.Object { 6 class _JenkinsSmiHash extends core.Object {
5 static combine(hash, value) { 7 static combine(hash, value) {
6 hash = 536870911 & dart.notNull(hash) + dart.notNull(value); 8 hash = 536870911 & dart.notNull(hash) + dart.notNull(value);
7 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); 9 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10);
8 return dart.notNull(hash) ^ dart.notNull(hash) >> 6; 10 return dart.notNull(hash) ^ dart.notNull(hash) >> 6;
9 } 11 }
10 static finish(hash) { 12 static finish(hash) {
11 hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) < < 3); 13 hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) < < 3);
12 hash = dart.notNull(hash) ^ dart.notNull(hash) >> 11; 14 hash = dart.notNull(hash) ^ dart.notNull(hash) >> 11;
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 exports.pow = pow; 455 exports.pow = pow;
454 exports.sin = sin; 456 exports.sin = sin;
455 exports.cos = cos; 457 exports.cos = cos;
456 exports.tan = tan; 458 exports.tan = tan;
457 exports.acos = acos; 459 exports.acos = acos;
458 exports.asin = asin; 460 exports.asin = asin;
459 exports.atan = atan; 461 exports.atan = atan;
460 exports.sqrt = sqrt; 462 exports.sqrt = sqrt;
461 exports.exp = exp; 463 exports.exp = exp;
462 exports.log = log; 464 exports.log = log;
463 })(math || (math = {})); 465 })(math, core, _js_helper);
OLDNEW
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698