Arithmetics

  • Thread starter =?ISO-8859-2?Q?Milan_=C8erm=E1k?=
  • Start date
L

lilburne

Pete said:
Evading the question doesn't aid your credibility.

Credibility on USENET doesn't come from answering troll questions.

If someone asked you why:

double step = 1.0/3.0;
for (double e = 0.0; e != 3.0; e += step) {
//do something
}

repeated forever would you tell them it had nothing to do with not using
an epsilon in the comparison?
 
P

Pete Becker

lilburne said:
Credibility on USENET doesn't come from answering troll questions.

If someone asked you why:

double step = 1.0/3.0;
for (double e = 0.0; e != 3.0; e += step) {
//do something
}

repeated forever would you tell them it had nothing to do with not using
an epsilon in the comparison?

I wouldn't tell them that using an epsilon solves the problem. It
doesn't.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top