[PATCH v2 06/15] RISC-V: Generic <math.h> and soft-fp Routines

Joseph Myers joseph@codesourcery.com
Wed Dec 20 16:50:00 GMT 2017


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



More information about the Libc-alpha mailing list