more thorough removal of float
diff --git a/test/float_tests.h b/test/float_tests.h
index f777156..50f3e8a 100644
--- a/test/float_tests.h
+++ b/test/float_tests.h
@@ -15,11 +15,15 @@
 
 #include <stdint.h>
 
+#ifndef QCBOR_CONFIG_DISABLE_ENCODE_IEEE754
+
 int32_t HalfPrecisionDecodeBasicTests(void);
 
 int32_t DoubleAsSmallestTest(void);
 
 int32_t HalfPrecisionAgainstRFCCodeTest(void);
 
+#endif /* QCBOR_CONFIG_DISABLE_ENCODE_IEEE754 */
+
 
 #endif /* float_tests_h */