[PATCH] D66862: Make lround builtin constexpr (and others)

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 29 10:16:54 PDT 2019


craig.topper added a comment.

What if the input is nan or infinity or out of range. The spec says an implementation defined value is returned. But we've deferred to whatever library we're compiled with. Which makes our implementation defined behavior outside of clang's control and it now depends on how clang is built.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66862/new/

https://reviews.llvm.org/D66862





More information about the cfe-commits mailing list