I would calculate the squared distance to the point (-10,0) and check it is small enough for practical use.
```
double squared_distance=(p.x+10) * (p.x+10)+p.y * p.y
assert (squared_distance < 1e-10);

```

Reply via email to