From 25bb7e005d96c367731fd8d129d764d101b1200f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 10 May 2019 19:49:26 -0700 Subject: [PATCH] [meta] Add is_signed for floating point types --- src/hb-meta.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-meta.hh b/src/hb-meta.hh index 290b41c..f13b256 100644 --- a/src/hb-meta.hh +++ b/src/hb-meta.hh @@ -240,6 +240,9 @@ template <> struct hb_is_signed { static constexpr bool value = tr template <> struct hb_is_signed { static constexpr bool value = false; }; template <> struct hb_is_signed { static constexpr bool value = true; }; template <> struct hb_is_signed { static constexpr bool value = false; }; +template <> struct hb_is_signed { static constexpr bool value = true; }; +template <> struct hb_is_signed { static constexpr bool value = true; }; +template <> struct hb_is_signed { static constexpr bool value = true; }; #define hb_is_signed(T) hb_is_signed::value template struct hb_int_min; -- 2.7.4