From aaa10d6056f376d9b759206345f50f224d35a3a6 Mon Sep 17 00:00:00 2001 From: Ryan Leavengood Date: Sun, 18 Nov 2007 16:54:48 +0000 Subject: [PATCH] Added trunc to the math headers. I need this for JavaScriptCore. It is already defined in libroot. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22949 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/math.h | 1 + 1 file changed, 1 insertion(+) diff --git a/headers/posix/math.h b/headers/posix/math.h index 50f677790d..0b6bdfd6e6 100644 --- a/headers/posix/math.h +++ b/headers/posix/math.h @@ -138,6 +138,7 @@ extern double sinh(double x); extern double sqrt(double x); extern double tan(double x); extern double tanh(double x); +extern double trunc(double x); /* long double math functions */ extern long double roundl(long double x);