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 v2 06/15] RISC-V: Generic <math.h> and soft-fp Routines


On Tue, 19 Dec 2017, Palmer Dabbelt wrote:

> +#ifndef __riscv_flen
> +
> +#define _FPU_RESERVED 0xffffffff

Missing preprocessor indentation, "# define" etc. inside #if (except for 
the #if of a header's multiple-include guard).  Likewise generally in lots 
of places in this patch.

> +#define _FCLASS_MINF     (1<<0)

GNU style would use (1 << 0) with spaces around <<; likewise elsewhere in 
this patch.

-- 
Joseph S. Myers
joseph@codesourcery.com


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