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

Side by Side Diff: sdk/lib/_internal/js_runtime/lib/native_typed_data.dart

Issue 1212513002: sdk files reorganization to make dart2js a proper package (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: renamed Created 5 years, 6 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 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Specialized integers and floating point numbers, 6 * Specialized integers and floating point numbers,
7 * with SIMD support and efficient lists. 7 * with SIMD support and efficient lists.
8 */ 8 */
9 library dart.typed_data.implementation; 9 library dart.typed_data.implementation;
10 10
(...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 Float64x2 max(Float64x2 other) { 1999 Float64x2 max(Float64x2 other) {
2000 return new NativeFloat64x2._doubles(x > other.x ? x : other.x, 2000 return new NativeFloat64x2._doubles(x > other.x ? x : other.x,
2001 y > other.y ? y : other.y); 2001 y > other.y ? y : other.y);
2002 } 2002 }
2003 2003
2004 /// Returns the lane-wise square root of [this]. 2004 /// Returns the lane-wise square root of [this].
2005 Float64x2 sqrt() { 2005 Float64x2 sqrt() {
2006 return new NativeFloat64x2._doubles(Math.sqrt(x), Math.sqrt(y)); 2006 return new NativeFloat64x2._doubles(Math.sqrt(x), Math.sqrt(y));
2007 } 2007 }
2008 } 2008 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698