[PATCH] Add missing include to tgammaf

Jeff Johnston jjohnstn@redhat.com
Tue Sep 4 17:44:00 GMT 2007


Patch applied.  Thanks.

-- Jeff J.

Kazunori Asayama wrote:
> This patch adds a missing include which contains prototypes needed by
> the tgammaf implementation. Without this change, tgammaf can return
> wrong result in some ABIs.
> 
> 2007-09-04  Kazunori Asayama <asayama@sm.sony.co.jp>
> 
> 	* libm/math/wf_tgamma.c: Add missing include.
> 
> ---
>  newlib/libm/math/wf_tgamma.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: b/newlib/libm/math/wf_tgamma.c
> ===================================================================
> --- a/newlib/libm/math/wf_tgamma.c	2002-06-08 06:59:56.000000000 +0900
> +++ b/newlib/libm/math/wf_tgamma.c	2007-09-04 19:15:54.000000000 +0900
> @@ -14,6 +14,7 @@
>   */
>  
>  #include "math.h"
> +#include "fdlibm.h"
>  
>  #ifdef __STDC__
>  	float tgammaf(float x)



More information about the Newlib mailing list