Re: [Dev-C++] How connect c++ to a database?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2006-02-15 09:25:49
|
Was that a correction of something that I said? The limit function (also known as limes, lim) when x reaches zero from the negative side is -infinity, not infinity, and as I noted, it is problematic to use limes to define the value of 1/0, since we don't like the duality of 1/0 being both -infinity and +infinity. Hence it should normally be treated as "undefined", at least when working with real-valued numbers. Looking at 1/0 as +infinity is a simplification that should be avoided. /Per W On Wed, 15 Feb 2006, Richard Van Wyk wrote: > 1/x > > When considering x approaching zero from the negative side (-x), > when we reach zero, 1/x becomes positive infinity. > because there is no -0. > > > > > > > > Per Westermark <pw...@ia...> > Sent by: dev...@li... > 15/02/2006 04:13 PM > > > To: "Daniel K. O." <dan...@ya...> > cc: Dev-Cpp UserList <dev...@li...> > Subject: Re: [Dev-C++] How connect c++ to a database? > > > And that is why I observed that limes 1/x reaches different values when x > reaches zero from positive and negative side, i.e. we either have to > conclude that +infinity is identical to -infinity, or we have to think of > 1/0 as just "undefined". In short, thinking of 1/0 as infinity is a > simplification of the problem - my original point. > > When talking about division by zero in software-development terms, the > IEEE 754 floating point standard defines: > +n/0 -> +infinity > -n/0 -> -infinity > 0/0 -> not a number (NaN) > > /Per W > > On Wed, 15 Feb 2006, Daniel K. O. wrote: > > > This is IMHO the relevant quote: > > > > "Division by zero must be left undefined in any mathematical system that > > obeys the axioms of a field > > <http://en.wikipedia.org/wiki/Field_%28mathematics%29>." > > > > --- > > Daniel K. O. |