Skip to content

Add Stage 3 float16 features types #60148

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

Closed
petamoriken opened this issue Oct 6, 2024 · 0 comments · Fixed by #60151
Closed

Add Stage 3 float16 features types #60148

petamoriken opened this issue Oct 6, 2024 · 0 comments · Fixed by #60151
Assignees
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fix Available A PR has been opened for this issue

Comments

@petamoriken
Copy link
Contributor

⚙ Compilation target

ESNext

⚙ Library

N/A

Missing / Incorrect Definition

  • Float16Array
  • Math.f16round
  • DataView.prototype.getFloat16
  • DataView.prototype.setFloat16

Sample Code

const float16 = new Float16Array(256);

Documentation Link

https://github.com/tc39/proposal-float16array

Firefox and Deno already ship the float16 features. It is also available in Chrome Canary and Safari Technology Preview.

@RyanCavanaugh RyanCavanaugh added Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Oct 7, 2024
@typescript-bot typescript-bot added the Fix Available A PR has been opened for this issue label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fix Available A PR has been opened for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants