We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e075b20 commit 8f24b89Copy full SHA for 8f24b89
src/vsg/io/BinaryInput.cpp
@@ -91,18 +91,18 @@ void BinaryInput::read(size_t num, Path* value)
91
92
struct double_64
93
{
94
- unsigned int sign : 1;
95
- unsigned int exponent : 11;
96
- unsigned long mantissa : 52;
+ uint8_t sign : 1;
+ uint16_t exponent : 11;
+ uint64_t mantissa : 52;
97
};
98
99
struct double_128
100
101
102
- unsigned int exponent : 15;
+ uint16_t exponent : 15;
103
union
104
105
- unsigned long mantissa_64 : 52;
+ uint64_t mantissa_64 : 52;
106
uint8_t mantissa[14];
107
108
0 commit comments