Compare commits

..

1 Commits

Author SHA1 Message Date
e96d747736 Create a development branch for the hash library.
[SVN r38869]
2007-08-23 19:28:19 +00:00

View File

@ -336,7 +336,7 @@ inline tribool operator==(tribool x, tribool y)
if (indeterminate(x) || indeterminate(y))
return indeterminate;
else
return (x && y) || (!x && !y);
return x && y || !x && !y;
}
/**
@ -399,7 +399,7 @@ inline tribool operator!=(tribool x, tribool y)
if (indeterminate(x) || indeterminate(y))
return indeterminate;
else
return !((x && y) || (!x && !y));
return !(x && y || !x && !y);
}
/**