www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/18/13:24:23

Message-Id: <3.0.5.32.19980218130159.007a0100@mail.kudos.net>
Date: Wed, 18 Feb 1998 13:01:59 -0500
To: djgpp AT delorie DOT com
From: Gerald Wann <photonuv AT kudos DOT net>
Subject: Infinity?
Mime-Version: 1.0

Hi all -

I had some rather unexpected output from a program that i can't quite explain.
The last line of code was 

  cout << "\nExpression evaluates to " << object.f(x) << endl;

The program contained no divide by zero error traps, and yet when i
purposfully
entered an expression with a divide by zero error, i got output...

  Expression evaluates to Infnity

Is this something that gets compiled in a "debug version" of the .exe?
I certainly didn't put it there! 

using djgpp v2 with RHIDE

Thanks
Jerry





- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019