Skip to content

Commit

Permalink
Fix float32_bits union so that it always the sizeof float.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChipKerchner authored and XiWeiGu committed Oct 13, 2023
1 parent d2b98a5 commit a8e62e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compare_sgemm_sbgemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ typedef union
typedef union
{
float v;
struct
struct __attribute__((packed))
{
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
uint32_t s:1;
Expand Down

0 comments on commit a8e62e2

Please sign in to comment.