| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |