Skip to content

Foundation.lroundf under Windows ARM64 unexpected return #13206

Description

@bastie

On Windows ARM64
swift -version Swift version 6.3.2 (swift-6.3.2-RELEASE) Target: aarch64-unknown-windows-msvc Build config: +assertions

Call on Foundation.lroundf(Float) returns 32bit instead of (expected 64bit) Int type like macOS call.

Foundation.lroundf(f) - error: cannot convert return expression of type 'Int32' to return type 'Int'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions