Thread: ITSA Ready! (Version 0.381966)

  1. #16
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Here's 0.381966011, with fixes:

    - fixed bug in recv_slip.
    - implemented phantomotap's multiple-references-to-statics solution.
    - memset() usage removed.
    Last edited by Sebastiani; 07-31-2014 at 10:55 AM.
    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. Request for Comment: Itsa Thin Socket Library!
    By Sebastiani in forum C++ Programming
    Replies: 17
    Last Post: 07-28-2014, 06:19 PM
  2. Making my own version of the scanf() version
    By Jamie_Edwards in forum C Programming
    Replies: 4
    Last Post: 04-30-2012, 09:46 AM
  3. Ready for GUI
    By bertazoid in forum C Programming
    Replies: 7
    Last Post: 10-31-2008, 05:08 AM
  4. are you ready?
    By Aran in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 05-12-2002, 01:38 PM
  5. ready?!
    By pode in forum Game Programming
    Replies: 2
    Last Post: 03-08-2002, 01:53 AM