This should already work just fine since our Floating just wraps an APFloat with the appropriate semantics.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/AST/Interp/floats.cpp | ||
---|---|---|
110–111 | This gets rejected before we even get to the constant expression interpreter, right? | |
120–121 | I'm curious to see what the bot farm thinks of tests like this -- they're constant expression tests, but constant expressions are supposed to follow the target floating-point model where this might be inexact. |
clang/test/AST/Interp/floats.cpp | ||
---|---|---|
110–111 | Yep, exactly. (Changed this to use a f16 suffix instead). |
This gets rejected before we even get to the constant expression interpreter, right?