|
 |
"Bald Eagle" <cre### [at] netscape net> wrote:
> In the absence of a vector triggering a misidentification, I'm going to call
> this 30+ year stumbling block solved.
OK, I spoke too soon - I was lazy and was leaving out the testing of the
scalars.
Somehow _1_ broke it.
I modified, then _0_ broke it.
I modified again, looked good, tested with sizes 1-5, and all looked well.
IIRC, what brought me back to this was an annoyance with needing to test all
vector sizes separately with size-dependent macros. And I think I needed a
general solution for . . . something.
I also vaguely recall that sometimes I wanted to compare vectors of unequal
sizes - only comparing the number of components of the smallest vector.
So I added a Boolean flag to do a partial comparison.
And this is what I have so far. Ugly development code, warts and all.
Needs more testing, since there's probably something else lurking in there.
- BW
Post a reply to this message
Attachments:
Download 'newvectorequalitymacro.pov.txt' (5 KB)
|
 |