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 8a121e1 commit b2ed0c3Copy full SHA for b2ed0c3
test/endian_test.cc
@@ -74,7 +74,7 @@ TEST(EndianTest, ConstexprEvaluation) {
74
static_assert(FromLittleEndian<int8_t>(-1) == -1);
75
76
static_assert(FromLittleEndian(ToLittleEndian(3.14f)) == 3.14f);
77
- static_assert(FromBigEndian(ToBigEndian(2.718)) == 2.718);
+ static_assert(FromBigEndian(ToBigEndian(2.71)) == 2.71);
78
}
79
80
// test platform dependent behavior
0 commit comments