Elektrine lite

← Feed

@hsivonen@mastodon.social

Post #4310493

2026-07-30 06:47 UTC

TIL: 1) Floating-point to integer cast can be UB in C++. 2) The convener of the C++ committee dismissed this a “benign” UB not worth defending against in the Guidelines Support Library. 3) The UB can cause LLVM to delete a bound check https://github.com/microsoft/GSL/issues/786#issuecomment-5127325234

Replies (0)

No replies.