This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #6803] Set errno for scalbln, scalbn
- From: Andreas Schwab <schwab at suse dot de>
- To: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 08 May 2014 10:08:23 +0200
- Subject: Re: [PATCH][BZ #6803] Set errno for scalbln, scalbn
- Authentication-results: sourceware.org; auth=none
- References: <lj8io2$hgi$1 at ger dot gmane dot org> <Pine dot LNX dot 4 dot 64 dot 1404251431210 dot 16509 at digraph dot polyomino dot org dot uk> <536A50C0 dot 7050600 at linux dot vnet dot ibm dot com> <Pine dot LNX dot 4 dot 64 dot 1405071534410 dot 29322 at digraph dot polyomino dot org dot uk> <lkfccv$gd5$1 at ger dot gmane dot org>
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."