On Thu, 25 Sep 2003 03:19:53 GMT, "Mike Wahler"
<mk******@mkwahler.net> wrote in comp.lang.c:
"C. Sengstock" <c.*********@urz.uni-heidelberg.de> wrote in message
news:bk**********@news.urz.uni-heidelberg.de... Hi,
i´ve got an iteration with random generated floating point numbers.
During the iteration process sometimes the programm stops with the error:
"floating point error: overflow"
Is the number out of range?
Essentially yes.
what does it exactly mean?
You tried to store a representation that is
invalid for a floating point type on your
implementation.
-Mike
Not even store, necessarily. Just generate.
double d = DBL_MAX;
++d;
....can generate an exception or trap.
BTW, could you start using a proper signature separator?
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
ftp://snurse-l.org/pub/acllc-c++/faq