Commit 4c08932e authored by Damien George's avatar Damien George

lib/libm/math: Fix int type in float union, uint64_t should be uint32_t.

A float is 32-bits wide.
parent fc1bb51a
......@@ -30,9 +30,9 @@ typedef float float_t;
typedef union {
float f;
struct {
uint64_t m : 23;
uint64_t e : 8;
uint64_t s : 1;
uint32_t m : 23;
uint32_t e : 8;
uint32_t s : 1;
};
} float_s_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment