This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Have i missed something else?

On 05/08/2014 10:08 AM, Andreas Schwab wrote:
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.

Attachment: patchglibc_math_scalbln_20140508
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]