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

A float is 32-bits wide.
This commit is contained in:
Damien George 2018-09-27 15:19:53 +10:00
parent fc1bb51af5
commit 4c08932e73

View File

@ -30,9 +30,9 @@ typedef float float_t;
typedef union { typedef union {
float f; float f;
struct { struct {
uint64_t m : 23; uint32_t m : 23;
uint64_t e : 8; uint32_t e : 8;
uint64_t s : 1; uint32_t s : 1;
}; };
} float_s_t; } float_s_t;