The J Programming langauge has an operator which acts as both the GCD and boolean Or. The J Primer has this note about it:
The GCD is a useful extension of the domain of the or function to non-boolean arguments.
As J is a highly mathematical language, I assume this extension has a basis in mathematics as well.
In what sense, if any, can the the GCD be considered an "extension" of boolean "Or"?