Skip to content
Prev 171422 / 398506 Next

are arithmetic comparison operators binary?

Martin Maechler wrote:
apologies.  i was actually asking for explanation, assuming that it
might be my misunderstanding, rather than reporting a bug.
you're welcome. 

shouldn't the tests have captured it?  i think you should have a check
for every feature following from the docs.  plus those undocumented, but
assumed by the developers.
it wouldn't be nonsensical to let them be of arbitrary arity (in a
well-documented manner), though it might confuse users.
thanks.

just a question (i haven't checked the sources, maybe i should):  what
is it that happens when one of the operators is called with n = 0 or 1
argument?  how does it come up with logical(0) rather than NA?

cheers,
vQ