[libc-commits] [libc] [libc][math][c++23] Add bfloat16 support in LLVM libc (PR #144463)
via libc-commits
libc-commits at lists.llvm.org
Tue Jul 8 08:57:29 PDT 2025
================
@@ -26,9 +26,18 @@ LIBC_INLINE constexpr cpp::enable_if_t<cpp::is_floating_point_v<OutType> &&
cpp::is_floating_point_v<InType>,
OutType>
cast(InType x) {
+ // Casting to the same type is a no-op.
----------------
overmighty wrote:
Really tiny nit: now there are 2 spaces after the `//`.
```suggestion
// Casting to the same type is a no-op.
```
https://github.com/llvm/llvm-project/pull/144463
More information about the libc-commits
mailing list