June 05, 2003 c++ » Re: cos bug | |||
|---|---|---|---|
| |||
...of 2*pi (=m) such that 0 <= vf - (m*2*pi) < 2*pi, all you... | |||
April 13, 2003 D » Process hang when creating too many classes!!! | |||
|---|---|---|---|
| |||
...Acquire the resource
// Do stuff here - calculating pi, actually
}
return 0;
}
This works fine for... | |||
April 07, 2003 c++ » Using the fldpi instruction for PI (3.1415...) | |||
|---|---|---|---|
| |||
...pi to the x87 stack fst x; // store to x } return x; } }; static CPi PI... | |||
March 23, 2003 D » Re: String formatting stuff | |||
|---|---|---|---|
| |||
...tAge: {%i}\tpi: {%f3.8}") % name % age % pi;
Where the %f bit is for precision... | |||
March 13, 2003 D » Re: sample program pi.d | |||
|---|---|---|---|
| |||
pi 1 pi = 3.2 Oops! 0 seconds to compute 1 digits of pi pi... | |||
March 13, 2003 D » sample program pi.d | |||
|---|---|---|---|
| |||
...pi pi 0 gives: pi = 0. 0 seconds to compute 0 digits of pi pi... | |||
March 08, 2003 D » Re: abs property for creal? | |||
|---|---|---|---|
| |||
...1/R1) + (2.0i*PI*F*(C1+C2)); where R1, PI, F, C1 and C2... | |||
January 18, 2003 D » Re: NaN initializers for floating point? | |||
|---|---|---|---|
| |||
...is usually what is desired, but 1, pi, etc., are also candidates. Using NaN means... | |||
January 09, 2003 D » Re: dig/DEdit stat | |||
|---|---|---|---|
| |||
...do expression evaluation (4*6, sin(84), pi) a la TrueSpace. Oh, and there's... | |||
December 29, 2002 D » Syntactical ideas. | |||
|---|---|---|---|
| |||
...example: int Million = 1_000_000; float Pi = 3.14159_26535_89793; This idea has... | |||
Copyright © 1999-2021 by the D Language Foundation