From 3d6bfecf6f23110fd94c8b73e73f059ba6dbc23f Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Sat, 26 Jan 2019 21:49:13 +0100 Subject: [PATCH] fix f16 build --- src/convert.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/convert.rs b/src/convert.rs index 3a2dc2b..7136f7e 100644 --- a/src/convert.rs +++ b/src/convert.rs @@ -15,6 +15,8 @@ use core::ops::{Add, Sub}; use frac::{IsGreaterOrEqual, IsLessOrEqual, True, Unsigned, U0, U1, U128, U16, U2, U32, U64, U8}; +#[cfg(feature = "f16")] +use half::f16; use { FixedI128, FixedI16, FixedI32, FixedI64, FixedI8, FixedU128, FixedU16, FixedU32, FixedU64, FixedU8,