[liba] add constant INFINITY

Change-Id: I801a23f5bb84bd86a4e93f6c24815737555ee8ce
This commit is contained in:
Émilie Feral
2016-12-16 14:30:56 +01:00
parent fbadd2ef0e
commit 24c23f761c
4 changed files with 6 additions and 4 deletions

View File

@@ -6,6 +6,8 @@
LIBA_BEGIN_DECLS
#define NAN (0.0f/0.0f)
#define HUGE_VALF 1e50f
#define INFINITY HUGE_VALF
#define M_E 2.71828182845904523536028747135266250
#define M_PI 3.14159265358979323846264338327950288