M
Mark Storkamp
I've got a pdf file with some pseudo code that seems to have been
written by someone familiar with C++. I'm implementing the code in C,
but need help translating one particular line:
const int imax = 2*std::numeric_limits<Real>::max_exponent;
Can someone explain this and give me an equivalent C line of code? It
then iterates through a loop imax times.
The purpose of the whole routine is to find the distance from a point to
an ellipse. It's using a modified version of Newton's Method to solve
for the distance, and that's the loop that's being iterated through.
written by someone familiar with C++. I'm implementing the code in C,
but need help translating one particular line:
const int imax = 2*std::numeric_limits<Real>::max_exponent;
Can someone explain this and give me an equivalent C line of code? It
then iterates through a loop imax times.
The purpose of the whole routine is to find the distance from a point to
an ellipse. It's using a modified version of Newton's Method to solve
for the distance, and that's the loop that's being iterated through.