From 0de52a72f1721e62d89deb4414aa613b187eed72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Fri, 25 Nov 2016 10:53:48 +0100 Subject: [PATCH] [liba] add NAN as constant Change-Id: Ie8b18fe4b8423d118697ebee1ac121b356e53a69 --- liba/include/math.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liba/include/math.h b/liba/include/math.h index 74c48538e..709593110 100644 --- a/liba/include/math.h +++ b/liba/include/math.h @@ -5,6 +5,8 @@ LIBA_BEGIN_DECLS +#define NAN (0.0F/0.0F) + /* The C99 standard requires isinf and isnan to be defined as macros that can * handle arbitrary precision float numbers. The names of the functions called * by those macros (depending on the argument size) are not standardized though.