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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/native_typed_data.dart

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
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 1973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1984 Float64x2 max(Float64x2 other) { 1984 Float64x2 max(Float64x2 other) {
1985 return new NativeFloat64x2._doubles(x > other.x ? x : other.x, 1985 return new NativeFloat64x2._doubles(x > other.x ? x : other.x,
1986 y > other.y ? y : other.y); 1986 y > other.y ? y : other.y);
1987 } 1987 }
1988 1988
1989 /// Returns the lane-wise square root of [this]. 1989 /// Returns the lane-wise square root of [this].
1990 Float64x2 sqrt() { 1990 Float64x2 sqrt() {
1991 return new NativeFloat64x2._doubles(Math.sqrt(x), Math.sqrt(y)); 1991 return new NativeFloat64x2._doubles(Math.sqrt(x), Math.sqrt(y));
1992 } 1992 }
1993 } 1993 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/native_helper.dart ('k') | sdk/lib/_internal/compiler/js_lib/preambles/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698