[PATCH v11] tests for fenv.h functions

Gedare Bloom gedare at rtems.org
Fri Apr 3 19:31:12 UTC 2020


On Fri, Apr 3, 2020 at 1:11 PM Vaibhav Gupta <vaibhav.varodek at gmail.com> wrote:
>
> IMO we should have a rule for nested CPP directives.
> And also the commenting. It makes the code more readable
> as a part of good coding style.
>
> Specially if the directives are nested, because they don't
> use brackets, too many opening-closing pair can make
> the code hard to read.
>

We do have some precedent for aligning the #ifdef with the surrounding
code when it is in a scoped block. I can at least get on board with
that, and the commenting. The discussion should be had in a separate
thread though. Would you care to present the proposal?


> -- Vaibhav Gupta


More information about the devel mailing list