Re: l_fp access macros

2017-02-25 Thread Achim Gratz
Achim Gratz writes: > Eric S. Raymond writes: >> Fortunately, we have good regression tests for those macros. So if you want >> to submit a simplification MR, feel free. > > Here's that patch. Tests are still clean of course. I have not removed > the distinction between signed and unsigned where

Re: DCF77 driver seems to be broken

2017-02-25 Thread Hal Murray
> I've opted to fix the comments. > * compare previously-normalised a and b > - * return 1 / 0 / -1 if a < / == / > b > + * return -1 / 0 / 1 if a < / == / > b Thanks for making it match what other cmp type routines do. -- These are my opinions. I hate spam. ___

Re: l_fp access macros

2017-02-25 Thread Achim Gratz
Eric S. Raymond writes: > Fortunately, we have good regression tests for those macros. So if you want > to submit a simplification MR, feel free. Here's that patch. Tests are still clean of course. I have not removed the distinction between signed and unsigned where it makes no difference to th

Re: DCF77 driver seems to be broken

2017-02-25 Thread Achim Gratz
Achim Gratz writes: > The better patch is probably to fix either the comments or the inline > functions in timespecops.h that have their logic reversed (apparently > since the beginning) and possibly fix the current uses in systime.c and > add tests that actually test for something else than equali