The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Entry #100104 - Bitwise is fastest calculator

Last post 06-11-2007 12:09 PM by Alex Papadimoulis. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-11-2007 12:09 PM

    Entry #100104 - Bitwise is fastest calculator

    Company policy is to avoid slow operators (eg + - / = * < >) and use only fast operators (>>= <<= ^=). As such, valid operators are: ( ) >>= <<= ^= , [ ] -> . And invalid operators: all others, including: + - = / * & | && || -- ++ == != < > <= >= % Not only is the main calculator logic done totally with just the valid operators, so is everything else.
Page 1 of 1 (1 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems