From: Steinar H. Gunderson Date: Tue, 1 Aug 2017 15:41:17 +0000 (+0200) Subject: Fix fp16_test compilation with f16c-enabled compilation flags. X-Git-Tag: 1.5.3~4 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=f680714c0378a80e1638824c70c5ec62d6ade8ee Fix fp16_test compilation with f16c-enabled compilation flags. --- 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.