[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bitset: check the operations
From: |
Bruno Haible |
Subject: |
Re: bitset: check the operations |
Date: |
Thu, 29 Nov 2018 00:40:56 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-138-generic; KDE/5.18.0; x86_64; ; ) |
Hi Akim,
> Bruno, is this what you had in mind?
Yes, exactly!
> I could use macros to reduce to boilerplate, but whether
> to factor completely with macros, or avoid macros as much
> as possible at the cost of possible redundancy depends on
> people: which one do you want?
I don't have preferences here. In the tests, higher use of macros
comes with a little more effort in debuggint.
The code is platform-independent, therefore the person who will debug
test failures will probably be you in the first time. Therefore I abstain.
> It did catch a bug, in expandable's implementation of 'not'.
So you have already been rewarded for the work ;-)
Bruno