Skip to content

Add fc.float16Array() #6244

@TomerAberbach

Description

@TomerAberbach

🚀 Feature Request

Add a fc.float16Array() that generates Float16Array

Motivation

Seems we have a function for every typed array, but not this one. I think it's the newest one, so I'm guessing it didn't exist when the current functions were added.

Example

console.log(fc.sample(fc.float16Array(), 10))

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions