diff --git a/src/util/ByteUtil.h b/src/util/ByteUtil.h index 64579a5..6e2f207 100644 --- a/src/util/ByteUtil.h +++ b/src/util/ByteUtil.h @@ -32,5 +32,6 @@ namespace Feather template inline T ReverseBytesBitcast(T n) { return std::bit_cast(ReverseBytes(std::bit_cast(n))); } + inline float ReverseBytes(float n) { return ReverseBytesBitcast(n); } inline double ReverseBytes(double n) { return ReverseBytesBitcast(n); } } \ No newline at end of file