Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FF129 Release/Expr feature Float16Array and friends #34860

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1203,48 +1203,6 @@ This includes: `SVGPathSegList`, [SVGPathElement.getPathSegAtLength()](/en-US/do

## JavaScript

### Float16Array Typed Arrays

{{jsxref("Float16Array")}} typed arrays are now supported, along with {{jsxref("DataView.prototype.getFloat16()")}} and {{jsxref("DataView.prototype.setFloat16()")}} for reading and setting `Float16Array` values from a {{jsxref("DataView")}}, and the {{jsxref("Math.f16round()")}} static method, which can be used to round numbers to 16 bits.
The new type is useful for sharing data with a GPU, in particular for use cases where it makes sense to trade off precision for memory consumption.
([Firefox bug 1833647](https://bugzil.la/1833647).)

<table>
<thead>
<tr>
<th>Release channel</th>
<th>Version added</th>
<th>Enabled by default?</th>
</tr>
</thead>
<tbody>
<tr>
<th>Nightly</th>
<td>127</td>
<td>No</td>
</tr>
<tr>
<th>Developer Edition</th>
<td>127</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>127</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>127</td>
<td>No</td>
</tr>
<tr>
<th>Preference name</th>
<td colspan="2"><code>javascript.options.experimental.float16array</code></td>
</tr>
</tbody>
</table>

## APIs

### Graphics: Canvas, WebGL, and WebGPU
Expand Down
2 changes: 2 additions & 0 deletions files/en-us/mozilla/firefox/releases/129/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ This article provides information about the changes in Firefox 129 that affect d

### JavaScript

- {{jsxref("Float16Array")}} typed arrays are now supported, along with {{jsxref("DataView.prototype.getFloat16()")}} and {{jsxref("DataView.prototype.setFloat16()")}} for reading and setting `Float16Array` values from a {{jsxref("DataView")}}, and the {{jsxref("Math.f16round()")}} static method, which can be used to round numbers to 16 bits. The new type is useful for sharing data with a GPU, in particular for use cases where it makes sense to trade off precision for memory consumption. ([Firefox bug 1903329](https://bugzil.la/1903329).)

#### Removals

### SVG
Expand Down