aboutsummaryrefslogtreecommitdiff
path: root/arm64
diff options
context:
space:
mode:
authorNguyễn Gia Phong <[email protected]>2024-02-29 23:44:07 +0900
committerQuentin Carbonneaux <[email protected]>2024-03-07 16:52:43 +0100
commitbe5d46fe7d876a0722c9475ae9dbc7baa60de46a (patch)
tree706a4a7befffb44fb41a69c86947eb1be25199fe /arm64
parentb582e84e10189334439377125e61fe43a3ce216c (diff)
test/fpcnv: skip of inexactly converted integers
In C, if a floating point cannot be represented exactly as an integer, conversion from the former to the latter is implementation-defined. Therefore, it can be flaky to test this against QBE-defined behavior. This was discovered from (unsigned int) 4294967295.0f being an UB, because (uint64_t) 4294967295.0f is 4294967296 > UINT_MAX on amd64 when compiled by either gcc or clang.
Diffstat (limited to 'arm64')
0 files changed, 0 insertions, 0 deletions