modulus redux

Steven Schveighoffer schveiguy at yahoo.com
Mon Jul 13 06:01:38 PDT 2009


On Mon, 13 Jul 2009 08:51:06 -0400, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:

> Michiel Helvensteijn wrote:
>> Andrei Alexandrescu wrote:
>>
>>> The  multiplicative expressions  are multiplication  (\ccbox{a  * b}),
>>> division  (\ccbox{a  / b}),  and  remainder  (\ccbox{a  \% b}).   They
>>> operate  on numeric types  only. The  result type  of either  of these
>>> operations   is  same  as   the  type   of  \ccbox{true   ?  a   :  b}
>>> (see~\S~\ref{sec:conditional-operator}).
>>  "either of" means "one of two" or "both of two". You're talking about  
>> three
>> operations, so I'd leave out "either of".
>
> Ok, thanks.
>

any of?

-Steve



More information about the Digitalmars-d mailing list