Files
abseil-cpp/absl/numeric
Derek Mauro 25bce1236b bits.h: Add absl::endian and absl::byteswap polyfills
I had to remove the MSVC implementation since it is
not constexpr.
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/byteswap-uint64-byteswap-ulong-byteswap-ushort?view=msvc-170

But all major compilers understand the portable implementation
is just a bswap: https://godbolt.org/z/oMnW3xsns

Closes #1198

PiperOrigin-RevId: 734626285
Change-Id: Ibca79f408f225c894f3c2b95f7086f891627db9f
2025-03-07 11:19:37 -08:00
..