From 6686e9ae9f8b557dd91898afa8d7379e114292b6 Mon Sep 17 00:00:00 2001 From: Kees van Reeuwijk Date: Mon, 15 Feb 2010 14:25:33 +0000 Subject: [PATCH] The function fabsf should return a float, not a double. --- include/math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/math.h b/include/math.h index 264fe0f73..a3c8d28ab 100644 --- a/include/math.h +++ b/include/math.h @@ -24,7 +24,7 @@ _PROTOTYPE( double cos, (double _x) ); _PROTOTYPE( double cosh, (double _x) ); _PROTOTYPE( double exp, (double _x) ); _PROTOTYPE( double fabs, (double _x) ); -_PROTOTYPE( double fabsf, (float _x) ); +_PROTOTYPE( float fabsf, (float _x) ); _PROTOTYPE( double floor, (double _x) ); _PROTOTYPE( double fmod, (double _x, double _y) ); _PROTOTYPE( double frexp, (double _x, int *_exp) );