[PATCH 2/2] Fixing HUGE_VALF to HUGE_VALL.

Corinna Vinschen vinschen@redhat.com
Fri Jul 28 18:32:00 GMT 2017


On Jul 28 23:04, Aditya Upadhyay wrote:
> ---
>  newlib/libm/complex/ctanl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/newlib/libm/complex/ctanl.c b/newlib/libm/complex/ctanl.c
> index 9255bdb07..c5c887c74 100644
> --- a/newlib/libm/complex/ctanl.c
> +++ b/newlib/libm/complex/ctanl.c
> @@ -47,7 +47,7 @@ ctanl(long double complex z)
>  
>  	if (d == 0.0L) {
>  		/* mtherr ("ctan", OVERFLOW); */
> -		w = HUGE_VALF + HUGE_VALF * I;
> +		w = HUGE_VALL + HUGE_VALL * I;
>  		return w;
>  	}
>  
> -- 
> 2.13.0

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20170728/9b98e50a/attachment.sig>


More information about the Newlib mailing list