[metapost] misprint in mpman

Stephan Hennig mailing_list at arcor.de
Sun Mar 16 12:40:39 CET 2008


Sergey,

I'd tend to your interpretation of sqrt being an <unary op>, but let's
move this to the metapost list, since there are people with far more
insight into MetaPost internals than me.

Best regards,
Stephan Hennig


Sergey Metelev schrieb:
> Stephan,
> 
> this time not a patch, just a question. Sentence in lines 1405-1406 says:
> ========================================================
> Applying a \tdescr{primary binop} such as {\tt
> sqrt}\index{sqrt?\texttt{sqrt}}\label{Dsqrt} makes the difference clear:
> ========================================================
> Is sqrt is an example of the binop? It takes only one argument and
> should be an unary op, as far as I understand. And a few lines later,
> about abs(x), round, floor, ceiling, sind, and cosd; they are
> mentioned as example of <primary binop> also. But in next paragraph
> one can read "Not all unary operators take numeric arguments and
> return numeric results. For instance, the abs operator ..." etc.
> I.e. abs called "unary operator".
> 
> It is not very easy to understand all that stuff about primary,
> secondary, tertiary etc... Is there only one type of <unary op>, and
> it is primary? That's why I didn't change it myself.
> 
> With best regards,
> Sergey Metelev



More information about the metapost mailing list