Search

June 05, 2003
c++ »
...of 2*pi (=m) such that 0 <= vf - (m*2*pi) < 2*pi,
all you...
April 13, 2003
D »
...Acquire the resource

        // Do stuff here - calculating pi, actually
    }

    return 0;
}

This works fine for...
April 07, 2003
c++ »
...pi to the x87 stack
fst x;         // store to x
}
return x;
}
};

static CPi PI...
March 23, 2003
D »
...tAge: {%i}\tpi: {%f3.8}") % name % age % pi;

Where the %f bit is for precision...
March 13, 2003
D »
pi 1
pi = 3.2    Oops!
0 seconds to compute 1 digits of pi

pi...
March 13, 2003
D »
...pi

pi 0 gives:
pi = 0.
0 seconds to compute 0 digits of pi

pi...
March 08, 2003
D »
...1/R1) + (2.0i*PI*F*(C1+C2));

where R1, PI, F, C1 and C2...
January 18, 2003
D »
...is usually what is desired, but 1, pi, etc., are also candidates. Using NaN means...
January 09, 2003
D »
...do expression evaluation (4*6, sin(84), pi) a la TrueSpace.  Oh,
and there's...
December 29, 2002
D »
...example:

int Million = 1_000_000;
float Pi = 3.14159_26535_89793;

This idea has...
117 118 119 120 121 122 123 124 125 126 127
Next ›   Last »