X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fp16_test.cpp;fp=fp16_test.cpp;h=d95e5c6b6d01813dfa367169c9ee15f35d6bc41a;hp=058c91281603fd0b2c0fa2ed8ed4200bc22dab28;hb=f680714c0378a80e1638824c70c5ec62d6ade8ee;hpb=8e9f58fec54a4c879035b214fd7411f6ff7b3a32 diff --git a/fp16_test.cpp b/fp16_test.cpp index 058c912..d95e5c6 100644 --- a/fp16_test.cpp +++ b/fp16_test.cpp @@ -45,6 +45,10 @@ union fp64 { double f; unsigned long long ll; }; +union fp32 { + float f; + unsigned int u; +}; TEST(FP16Test, NaN) { // Ignore the sign bit.