From d2a76f740688496c11f4cf9c12680ea2c034c249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 9 May 2006 18:14:11 +0000 Subject: [PATCH] The lround() and lroundf() functions are now also found in our math.h header. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17400 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/math.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/headers/posix/math.h b/headers/posix/math.h index 20a488e02b..5145b350f4 100644 --- a/headers/posix/math.h +++ b/headers/posix/math.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2005, Haiku. + * Copyright 2001-2006, Haiku. * Distributed under the terms of the MIT License. */ #ifndef _MATH_H_ @@ -102,6 +102,7 @@ extern float log10f(float x); extern float log1pf(float x); extern float logbf(float x); extern float logf(float x); +extern long lroundf(float x); extern float modff(float x, float *y); extern float powf(float x, float y); extern float roundf(float x); @@ -128,6 +129,7 @@ extern double gamma(double x); extern double ldexp(double x, int exponent); extern double log(double x); extern double log10(double x); +extern long lround(double x); extern double modf(double x, double *y); extern double pow(double x, double y); extern double round(double x); @@ -139,6 +141,8 @@ extern double tanh(double x); /* long double math functions */ extern long double roundl(long double x); +extern long lroundl(long double x); + // TODO: add and fix those! extern /*long*/ double lgamma(/*long*/ double x);