August 16, 2005 General » Re: Submission: Floating point near-equality | |||
|---|---|---|---|
| |||
...0, because PI is not close enough to the mathematical pi. sin(n*PI) ==0... | |||
August 16, 2005 General » Re: Submission: Floating point near-equality | |||
|---|---|---|---|
| |||
...another post I pointed out that sin(PI) (which I just actually tried and got... | |||
August 16, 2005 General » Re: Submission: Floating point near-equality | |||
|---|---|---|---|
| |||
...x-PI); } then reducedsin(PI) ==0. I would have thought that sin(n*PI) ==0... | |||
August 16, 2005 General » Re: Submission: Floating point near-equality | |||
|---|---|---|---|
| |||
...be close to x for all -PI/2 <= x <= PI/2). Then, if you know... | |||
August 16, 2005 General » Re: Submission: Floating point near-equality | |||
|---|---|---|---|
| |||
...matters) so that, for example, sin(PI) and sin(-PI) and 0 all feq with... | |||
August 15, 2005 General » Submission: Floating point near-equality | |||
|---|---|---|---|
| |||
...is accurate to %d bits.", precisionEquality(pifinder(), PI)); I believe that some equivalent to this... | |||
July 17, 2005 General » Re: Class variables in optional parameters? | |||
|---|---|---|---|
| |||
...does "have a water". You can change Pi as any other fundamental constants. You just... | |||
July 17, 2005 General » Re: Class variables in optional parameters? | |||
|---|---|---|---|
| |||
...But even Walter cannot increase value of Pi constant. Regan, here is the book: Niklaus... | |||
July 16, 2005 General » njam src (360k attachment) - njam-1.21-src.zip [1/2] | |||
|---|---|---|---|
| |||
...8/V@^-J&K^C,JSK4 MK,PI]8KN[3F7&S='67QR',RQ3?PH(2... | |||
May 31, 2005 General » Re: Interface Support: Return Types | |||
|---|---|---|---|
| |||
...Circle: iOne
{
double amethod() { return (radius * 2 * PI) / 360.00L ; }
real bmethod() { ... }
}
class BattleTank: iOne... | |||
Copyright © 1999-2021 by the D Language Foundation