Closed Ngalstyan4 closed 6 months ago
Oh, this is very timely, thank you! Would you by any chance have time to add a test case on top of test.cpp
? Ideally for little-endian and big-endian. Thank you again 🤗
Added some constructor tests and a test to do byteswaps with clang and GCC intrinsics. Not ideal, so feel free to change if you have other ideas!
Thank you, @Ngalstyan4! Will merge later today 🤗
Found with a test case in lantern.
Quick example:
This was printing "n40_from_32: 10752 n40_from_64: 42". After the patch, it prints "n40_from_32: 42 n40_from_64: 42"