c-style line comments in zad4
This commit is contained in:
parent
f6225b3edd
commit
98e0f88d39
@ -17,12 +17,12 @@ static long long unsigned n;
|
||||
|
||||
int next()
|
||||
{
|
||||
// long double p = x;
|
||||
/* long double p = x; */
|
||||
n++;
|
||||
silnia *= n;
|
||||
long double inv_silnia = ((long double)1) / silnia;
|
||||
x += inv_silnia;
|
||||
// return fabsl(x - p) >= eps;
|
||||
/* return fabsl(x - p) >= eps; */
|
||||
return inv_silnia >= eps;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user