On 26 Mar 2002 at 12:31, Maurice Lombardi wrote: [...]
So the question is, should gpc catch underflows. Apparently the result does not depend only on gpc, but also on the underlying system libraries. With djgpp and the program unmodified I get the error #700 With an instruction uses libml; which is an unit which imports the CEPHES math library I obtain like the Chief. AFAIK when there is no special instruction exp is imported from libm if it exists there or libc if not, and the result is thus system dependant.
You are right. My first test was with Mingw, and there was no error. I have now tried it under Cygwin, and I do get the error: "error in exponentiation (Math result out of range) (error #700 at 4010b9)".
I am not sure now whether this is a GPC problem or a system library problem, and I am not sure what GPC should do about it.
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Email: African_Chief@bigfoot.com http://www.bigfoot.com/~african_chief/