Add my dist
This commit is contained in:
parent
1053f8e3c2
commit
a8b4e4358d
16 changed files with 807 additions and 23 deletions
|
|
@ -21,12 +21,15 @@ int t2_solve (
|
|||
|
||||
if (fabs(dy) < DBL_EPSILON)
|
||||
{
|
||||
it = m+1;
|
||||
it = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
x_0 -= (y / dy);
|
||||
}
|
||||
|
||||
if (it > m)
|
||||
it = -1;
|
||||
|
||||
*x = x_0;
|
||||
return it;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue