[PATCH][BZ #6803] Set errno for scalbln, scalbn

Andreas Schwab schwab@suse.de
Thu May 8 08:08:00 GMT 2014


Stefan Liebler <stli@linux.vnet.ibm.com> writes:

> +double
> +__w_scalbln (double x, long int n)
> +{
> +  if(!__finite(x)||x==0.0) return x;
> +  x = __scalbln(x,n);
> +  if(!__finite(x)||x==0.0) __set_errno (ERANGE);

That's not standard formatting.  Space before paren and around operators.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list