hashsplit / hashsplit-spec

The Unlicense
7 stars 3 forks source link

Add notation for bitwise AND and OR, and use it in the spec #8

Closed cole-miller closed 4 years ago

cole-miller commented 4 years ago

The usual way to get the "and" and "or" symbols in LaTeX is with \wedge and \vee; this PR adds definitions of these symbols in the "Notation" section and updates the rest of the spec to use them where appropriate.

I also made a minor change to the shift definitions, adjusting some variable names so that 'y' always denotes a bit vector/unsigned 32-bit integer and 'n' always denotes a count for shifting.

zenhack commented 4 years ago

Thanks!

zenhack commented 4 years ago

(I wish GitHub's UI had something equivalent to --word-diff)

cole-miller commented 4 years ago

The "rich diff" view (button at the top, next to the angle brackets icon) is pretty good for Markdown files, actually. Unless you've already tried that and found it lacking?

zenhack commented 4 years ago

Quoting Cole Miller (2020-08-20 20:11:00)

The "rich diff" view (button at the top, next to the angle brackets icon) is pretty good for Markdown files, actually. Unless you've already tried that and found it lacking?

I noticed that right after posting, actually. I feel like it could use a bit more contrast though... but this is a bit off-topic.