Re: modulus %
From: Leor Zolman (leor_at_bdsoft.com)
Date: 03/23/04
- Next message: Kristian Jones: "CString and concatenation with an integer"
- Previous message: Leor Zolman: "Re: Self-referencing templates"
- In reply to: Lem: "modulus %"
- Next in thread: John Kewley: "Re: modulus %"
- Reply: John Kewley: "Re: modulus %"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Mar 2004 16:09:00 GMT
On Tue, 23 Mar 2004 22:20:06 +0800, "Lem" <hjlem@pacific.net.sg> wrote:
>Is the modulus (%) operator computationally expensive, compared to additions
>and assignments?
>
Profile. I find it rather difficult to imagine that a % expression is going
to be a bottleneck, but anything's possible...
-leor
>Thanks in advanced,
>Lem
>
-- Leor Zolman --- BD Software --- www.bdsoft.com On-Site Training in C/C++, Java, Perl and Unix C++ users: Download BD Software's free STL Error Message Decryptor at: www.bdsoft.com/tools/stlfilt.html
- Next message: Kristian Jones: "CString and concatenation with an integer"
- Previous message: Leor Zolman: "Re: Self-referencing templates"
- In reply to: Lem: "modulus %"
- Next in thread: John Kewley: "Re: modulus %"
- Reply: John Kewley: "Re: modulus %"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|