Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: A better mod (%) operator?

by John M. Dlugosz (Monsignor)
on Jul 09, 2002 at 20:10 UTC ( #180587=note: print w/replies, xml ) Need Help??


in reply to A better mod (%) operator?

That's bugged me too, especially in the old days when a division took 130 clocks at 12MHz.

I hope that the optomizer can take care of it. So, I do the common expressions into temp variables, and then do both / and % with identical parameters on concecutive lines.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2020-11-25 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?