Skip to content

Add Float32x4.round() #61240

@ryanheise

Description

@ryanheise

I would like to request Float32x4.round() to be added. This would offer cross-platform rounding without being able to control the rounding mode (i.e. you get whatever the platform supports).

You could use _mm_cvtps_epi32 and vcvtq_s32_f32 (add 0.5).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-corelibrary-typed-datatype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions