Chromium Code Reviews| Index: sdk/lib/scalarlist/byte_arrays.dart |
| diff --git a/sdk/lib/scalarlist/byte_arrays.dart b/sdk/lib/scalarlist/byte_arrays.dart |
| index d8432593bc5aed6fed0f11509b46576f451562bc..c8e73fcca51f30fb063fe954af6d83da3b643100 100644 |
| --- a/sdk/lib/scalarlist/byte_arrays.dart |
| +++ b/sdk/lib/scalarlist/byte_arrays.dart |
| @@ -269,6 +269,30 @@ abstract class ByteArray { |
| int setUint64(int byteOffset, int value); |
| /** |
| + * Returns the Simd128Float32 number represented by the 16 bytes at |
|
kasperl
2013/02/21 11:28:15
Float32x4? Remove double space after 32.
Cutch
2013/02/21 18:45:16
Done.
|
| + * the specified [byteOffset] in this byte array. |
| + * |
| + * Throws [RangeError] if [byteOffset] is negative, or |
| + * `byteOffset + 16` is greater than the length of this byte array. |
| + */ |
| + Simd128Float32 getSimd128Float32(int byteOffset); |
|
kasperl
2013/02/21 11:28:15
Float32x4?
Cutch
2013/02/21 18:45:16
Done.
|
| + |
| + /** |
| + * Sets the sixteen bytes starting at the specified [byteOffset] in this |
| + * byte array to the Simd128Float32 representation of the specified [value]. |
| + * |
| + * |
| + * Returns `byteOffset + 16`, which is the offset of the first byte in the |
| + * array after the last byte that was set by this call. This return value can |
| + * be passed as the [byteOffset] parameter to a subsequent `setXxx` call. |
| + * |
| + * Throws [RangeError] if [byteOffset] is negative, or |
| + * `byteOffset + 16` is greater than the length of this byte array. |
| + */ |
| + int setSimd128Float32(int byteOffset, Simd128Float32 value); |
|
kasperl
2013/02/21 11:28:15
Float32x4?
Cutch
2013/02/21 18:45:16
Done.
|
| + |
| + |
| + /** |
| * Returns the floating point number represented by the four bytes at |
| * the specified [byteOffset] in this byte array, in IEEE 754 |
| * single-precision binary floating-point format (binary32). |