Skip to content

Float32.ofInt seems wrong #7264

@seanmcl

Description

@seanmcl

Prerequisites

Please put an X between the brackets as you perform the following steps:

Description

Float32.ofInt returns a Float, not a Float32.

Context

Observe the types here: seanmcl@fcfb52b

Expected behavior: [Clear and concise description of what you expect to happen]

I'd get a Float32

Actual behavior: [Clear and concise description of what actually happens]

I get a Float(64)

Impact

I can't convert from Int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions