Thread: int into bits Bitwise

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by bdillion View Post
    another thrilling wrong addition by yourself there i think i proved my own point that your too up yourself to accept criticism yourself. I'm sure your go far with that attitude
    Actually, if you read the threads that I've started (seeking advice), you'll find that I am generally quite humble, open to honest criticism, and willing to accept when I am wrong. Moreover, if you look at all of my posts to this particular thread, it's pretty obvious that I was trying to help you. At any rate, right now you would really benefit by:

    1) Studying the language as much as possible in preparation for this assignment during the next few days (anything beats a zero grade, after all).
    2) Formulating your questions as concisely and clearly as possible, so as to maximize the quality of the responses that you receive.
    Last edited by Sebastiani; 05-19-2010 at 03:20 PM. Reason: grammer
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. NEED HELP READING FILE and PRINTING
    By geoffr0 in forum C Programming
    Replies: 4
    Last Post: 04-16-2009, 05:26 PM
  2. memory leak
    By aruna1 in forum C++ Programming
    Replies: 3
    Last Post: 08-17-2008, 10:28 PM
  3. Replies: 26
    Last Post: 11-30-2007, 03:51 AM
  4. newbie needs help with code
    By compudude86 in forum C Programming
    Replies: 6
    Last Post: 07-23-2006, 08:54 PM
  5. getting a headache
    By sreetvert83 in forum C++ Programming
    Replies: 41
    Last Post: 09-30-2005, 05:20 AM