Skip to content

LLVM (thus, Rust) floating point support support is incomplete #10186

Closed
@thestinger

Description

@thestinger
  • signalling NaN results in undefined behaviour
  • floating point environment (rounding mode, exceptions) is not supported

This is not going to be easy to fix since the only sane fix is to improve LLVM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-floating-pointArea: Floating point numbers and arithmeticC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions