dev-cpp-users Mailing List for Dev-C++ (Page 87)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Per W. <pw...@ia...> - 2006-02-16 13:05:28
|
Telling people that they are idiots can also shorten your life expectancy by a couple of decades ;) /Per W On Wed, 15 Feb 2006, lordSauron wrote: > The existence of idiots is a fact man. just tell 'em and leave it be > - don't get upset about it. If you get upset about every idiot that > floats by your way, you'll shorten your life expectancy by a couple > decades. > > -- > ========== GCv3.12 ========== > GCS d |
|
From: Per W. <pw...@ia...> - 2006-02-16 13:04:15
|
It isn't so easy to return amount of memory left in a Windows environment, since the memory architecture looks so much differnt. Howerver, i assume that the old program was running under DOS, i.e. limited to 640kB memory. Because of the great increase of available memory together with swap space, most programs don't need to bother keeping track of amount of free space. If you really want to look into it, there are a number of Win32 API calls to check on the memory subsystem, but is your program regularly expected to consume 50-500 MB or more? The two main things to care about are: - not leaking memory, maging the app requiring regular restarts. - handling a failed memory allocation (NULL pointer or exception depending on how application is configured to behave). Just for fun, the app might keep track of amount of memory it has allocated, to warn users that operation xx might require huge amounts of memory (for example undo of a global search/replace in a megalarge spreadsheet, text document, ...) /Per W On Thu, 16 Feb 2006, Patrick Hens wrote: > Hi, > > I'm porting some c source code for a DOS program written with Borland. Now I've noticed that the Devc libraries do not contain the coreleft() function. I would like to know the amount of free memory left in my program. > > Does anyone know an alternative way to do this? > > PS: I've tried to search the archives, but the search engine does not seem to work (Can not connect to server). Did not find any answers with Google either. > > Thanks in advance, > > Patrick Hens |
|
From: Patrick H. <Pat...@pa...> - 2006-02-16 12:33:03
|
Hi, I'm porting some c source code for a DOS program written with Borland. = Now I've noticed that the Devc libraries do not contain the coreleft() = function. I would like to know the amount of free memory left in my = program. Does anyone know an alternative way to do this? PS: I've tried to search the archives, but the search engine does not = seem to work (Can not connect to server). Did not find any answers with = Google either. Thanks in advance, Patrick Hens |
|
From: Bernd M. <Ber...@eu...> - 2006-02-16 12:23:38
|
Hi,
I'm looking for a c/C++ library (suitable for Linux and Windows) to=20
parse pdf documents. I only need the plain text and defined page breaks=20
as output.
Parsing trough a system ("pdftotext ..."); does this for me, but I'm=20
looking for a more elegant way using a library.
xpdf does not come with any library nor API documentation.
Thanks for any hints, Bernd
--=20
Bernd M=FCnt Durchwahl: 030/69032-509
euroscript Deutschland GmbH Zentrale: 030/69032-300
Abteilung IT-Management Fax: 030/69032-505
Alt-Moabit 91 Mail: Ber...@eu...
10559 Berlin Web: http://www.euroscript.de
|
|
From: lordSauron <lor...@gm...> - 2006-02-16 05:07:41
|
The existence of idiots is a fact man. just tell 'em and leave it be
- don't get upset about it. If you get upset about every idiot that
floats by your way, you'll shorten your life expectancy by a couple
decades.
--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
=3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D
|
|
From: Eric R. <eri...@cl...> - 2006-02-16 04:57:21
|
----- Original Message ----- From: Gary Lefebvre To: dev...@li... Sent: Thursday, February 16, 2006 11:57 AM Subject: [Dev-C++] Unsubscribe How do I Unsubscribe to the email listings. AT THE BOTTOM EVERY EMAIL IT TELLS USE ALL HOW TO UNSUBSCRIBE: > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Reid T. <rei...@at...> - 2006-02-16 00:08:53
|
Per Westermark wrote: >Yes, it is very simple to obtain. All you need is a web browser :) > >You don't obtain a GPL. You just sign that your software is covered by t= he >GPL license and make sure that the source code is distributed together >with the license. > >/Per W > >On Wed, 15 Feb 2006, Andr=E9 Mac=E1rio Barros wrote: > > =20 > >>Dear Users, >> >> Does anybody have experience on registering a free tool >>via Free Software Foudation? >> To declare a software tool as free, is it important to >>get a GPL? Is it simple to obtain? >> >> >>Regards >>Andre >> >> >> >> =20 >> Note also that there are variants of free software licenses,,, GPL,=20 LPGL, BSD, Creative Commons, etc -- one may be a better fit for your=20 needs than another... see http://www.opensource.org/licenses/ |
|
From: Per W. <pw...@ia...> - 2006-02-15 23:00:05
|
If you post just a binary, you have to be prepared to handle requests for the source for a reasonable copying fee and within a reasonable time frame. In short, if you publish the binary, you should publish the source too at the same time. The goal of the GPL is about the freedom of the receiver, i.e. that they should have the freedom to fix bugs themselves, or add missing features etc. Obviously, that requires access to the source. Why do you want to keep the source for 6 months? Do you need time to clean up the code, or are there other issues at hand? By the way - it is normally best to include the list in the exchanges, to avoid redundant answers or comments. /Per W On Wed, 15 Feb 2006, Andr=E9 Mac=E1rio Barros wrote: > Dear Mr PW, > > Do you know if there is a medium term? Right > now I am interested only in to put available > the executable version. In approximately six > months I will put available the source code. > > Thank you! > Andre > > -----Mensagem original----- > De: Per Westermark [mailto:pw...@ia...] > Enviada em: quarta-feira, 15 de fevereiro de 2006 19:25 > Para: Andr=E9 Mac=E1rio Barros > Cc: Lista do Dev > Assunto: Re: [Dev-C++] Does anybody have experience with GPL? > > > Yes, it is very simple to obtain. All you need is a web browser :) > > You don't obtain a GPL. You just sign that your software is covered by th= e > GPL license and make sure that the source code is distributed together > with the license. > > /Per W > > On Wed, 15 Feb 2006, Andr=E9 Mac=E1rio Barros wrote: > > > Dear Users, > > > > Does anybody have experience on registering a free tool > > via Free Software Foudation? > > To declare a software tool as free, is it important to > > get a GPL? Is it simple to obtain? > > > > > > Regards > > Andre > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > |
|
From: Gary L. <gar...@co...> - 2006-02-15 22:58:00
|
How do I unsubscribe to the email listings. |
|
From: Per W. <pw...@ia...> - 2006-02-15 22:25:10
|
Yes, it is very simple to obtain. All you need is a web browser :) You don't obtain a GPL. You just sign that your software is covered by the GPL license and make sure that the source code is distributed together with the license. /Per W On Wed, 15 Feb 2006, Andr=E9 Mac=E1rio Barros wrote: > Dear Users, > > Does anybody have experience on registering a free tool > via Free Software Foudation? > To declare a software tool as free, is it important to > get a GPL? Is it simple to obtain? > > > Regards > Andre > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: <and...@su...> - 2006-02-15 22:14:23
|
Dear Users, Does anybody have experience on registering a free tool via Free Software Foudation? To declare a software tool as free, is it important to get a GPL? Is it simple to obtain? Regards Andre |
|
From: lordSauron <lor...@gm...> - 2006-02-15 19:50:49
|
On 2/14/06, Per Westermark <pw...@ia...> wrote: > 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) If that's what the IEEE said then that's what we'll use while programming. Outside of that, face the music: numbers can do anything, you've just got to strech your thinking to accomidate that. |
|
From: Alfred P. R. <al...@ya...> - 2006-02-15 19:28:35
|
My suggestion would be to break it up into modules, individual C++ files. Maybe in the range of 1000-2000 each, or whatever works for you. If you've already done that, then maybe compile individually then link together.
I've found a few references to Fatal F1008 on the Web, none related to Dev-C++:
Windows NT, Borland C++ 5.4, 1999
Windows 95-XP, Borland C++ 5.0, 2005 Problem using += operator.
Borland C++ 5.5.1, 2002 Problem caused by 30K+ lines of code, suggests modularizing code.
"Rafael Torres Jr." <raf...@ya...> wrote:
Hello everybody,
I have a problem handling out of memory errors in C++
my program is about 13,819 lines long and it wont compile it anymore because the same error appears.
Fatal F1008 ogpeth.cpp 13578: Out of memory in function main()
***1 errors in Compile***
is there anything I can do in order to avoid this kind of memory leaks?
<snip>
Alfred P. Reaud
|
|
From: Rafael T. Jr. <raf...@ya...> - 2006-02-15 18:34:26
|
Hello everybody,
I have a problem handling out of memory errors in C++
my program is about 13,819 lines long and it wont compile it anymore because the same error appears.
Fatal F1008 ogpeth.cpp 13578: Out of memory in function main()
***1 errors in Compile***
is there anything I can do in order to avoid this kind of memory leaks?
"Alfred P. Reaud" <al...@ya...> wrote: That's all in the calculus, and the concept of limits.
In reality, think about what the zero operation means with respect to physics and quantum mechanics. As long as you deal with limits, the conventional wisdom applies. But at 0, things reach a boundary condition. This is illustrated by the Dirac Delta Function
First, for edification, let's address the identity: 1/(infinity) = 0, on a common object, an orange. This orange, when divided, will eventually reach a slice which can't be further divided and still give you an orange slice. That last slice, though of a molecular thickness, is still the last slice. If you divide it further, you're not dealing with an orange anymore, rather you are dealing with constituent atoms and molecules. So you don't get an infinite number of orange slices, rather you get a finite though large number of slices.
So what happens when you actually divide by 0? Physically, IMHO, you do not preform the operation. The physical operation 0 is a null operation (as in addition and subtraction). The logic is that if you try to divide an orange 0 times, you actually don't divide the orange by anything, i.e. 1/0 = 1 (with respect to physical objects). However, the identity 1*0 = 0 still works because as you're not preforming the multiplication (0 is the null operator, hence no operation), therefore the sum of additions which make a multiplication isn't done, so the result is 0.
This must be the reason why general relativity and quantum mechanics don't meet...;^)
Per Westermark <pw...@ia...> wrote:
Why do you say that x/0 appr oximates to infinity?
x/0 approaches infinity if x gets closer and closer to zero from the
positive side.
It approaches -infinity if x gets closer and closer to zero from the
negative side.
Since limes x/0 -> infinity or -infinity depending on direction of
x->0, is x/0 infinity, negative infinity or something completely else -
the grand inconsistency you where thinking about :)
/Per W
On Mon, 13 Feb 2006, lordSauron wrote:
> suppose I have a nonzero number x. x==x, right? so, x/0 should be
> precisely equal to itself, no? We don't know what it is, true, since
> it approximates to infinity, however, it should be the same unless I'm
> hitting some grand inconsistency no one has yet told me about.
Alfred P. Reaud
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail. |
|
From: Daniel K. O. <dan...@ya...> - 2006-02-15 18:07:05
|
Bernd Muent wrote: > F.E. I can do the following: > > Regex* rex; > String* > replacedTags=rex->Replace(originalLine,S"<(.*)?>,S"<SPECIAL>$1</SPECIAL>"); > > > For a special program I would like to do the same in a standard C++ > program. Why not use Boost.Regex? regex_replace() will probably do what you want. http://boost.org/libs/regex/doc/regex_replace.html --- Daniel K. O. _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com |
|
From: Reid T. <rei...@at...> - 2006-02-15 15:22:23
|
Andr=E9 Mac=E1rio Barros wrote: > Dear users, > > I don=B4t know if wxwidgets offers a Component > Based way of programming. > I am looking for free tools/libraries that > offers the same style of programming that Borland > C++ Builder does. > Does anybody here know if there is something > free that can be installed and works together with > Dev-Cpp/gcc? > I am giving priority to tools that can provide > a way of programming for that kind of programmer > that only knows ANSI-C structured programming and > needs to work in Windows Graphic mode. Borland C++ > Builder can give this, but it isn=B4t a free tool. > > Regards > Andre > > istinfo/dev-cpp-users > =20 http://www.bloodshed.net/dev/index.html http://devpaks.org/ |
|
From: <and...@su...> - 2006-02-15 15:13:44
|
Dear Users, Does anybody know where can I get a gcc/dev-cpp compatible library (.h file not class - for strict structured Ansi C programming, not OO) for complex number manipulations? I remember that Turbo C had a <complex.h> file that did this. Anything like creates a struct that receives the complex number and expand the common mathematical operations to this type. Regards Andre |
|
From: <and...@su...> - 2006-02-15 15:13:44
|
Dear users, I don´t know if wxwidgets offers a Component Based way of programming. I am looking for free tools/libraries that offers the same style of programming that Borland C++ Builder does. Does anybody here know if there is something free that can be installed and works together with Dev-Cpp/gcc? I am giving priority to tools that can provide a way of programming for that kind of programmer that only knows ANSI-C structured programming and needs to work in Windows Graphic mode. Borland C++ Builder can give this, but it isn´t a free tool. Regards Andre |
|
From: Reid T. <rei...@at...> - 2006-02-15 14:36:52
|
Bernd Muent wrote: > Hi together, > most of the time I'm using .net framework to programm C++. > F.E. I can do the following: > > Regex* rex; > String* > replacedTags=rex->Replace(originalLine,S"<(.*)?>,S"<SPECIAL>$1</SPECIAL>"); > > > For a special program I would like to do the same in a standard C++ > program. > I found the library pcre and after some starting problems I'm able to > compile and link to it. > But with this library I can only test if a string matches to a pattern > and extract the corresponding substring. > I think I would be able to write a function for replacing this > substring, but there must have someone before me who did this work > already ;-) > > Searching with google "pcre string replace substitute" or whatever I > did not find any solution for pcre nor any other library for the same > thing (it must be a library which can be used with Windows XP). > > Thank you for any hints, Bernd > > never used them myself, but the boost libraries may be very helpful... http://www.boost.org/libs/regex/doc/regex_replace.html http://www.boost.org/index.htm |
|
From: Renato C. <co...@ds...> - 2006-02-15 11:50:33
|
The original problem was "How connect C++ to a database?" I use mySQL and DevC++, but with mySQL++ and/or DevC++ mysql-library I'have many errors on linkink the code examples. There is someboby who has run succesfully a simple example? With what library? -------------- Renato |
|
From: Bernd M. <Ber...@eu...> - 2006-02-15 11:13:27
|
Hi together, most of the time I'm using .net framework to programm C++. F.E. I can do the following: Regex* rex; String*=20 replacedTags=3Drex->Replace(originalLine,S"<(.*)?>,S"<SPECIAL>$1</SPECIAL= >"); For a special program I would like to do the same in a standard C++ progr= am. I found the library pcre and after some starting problems I'm able to=20 compile and link to it. But with this library I can only test if a string matches to a pattern=20 and extract the corresponding substring. I think I would be able to write a function for replacing this=20 substring, but there must have someone before me who did this work=20 already ;-) Searching with google "pcre string replace substitute" or whatever I did=20 not find any solution for pcre nor any other library for the same thing=20 (it must be a library which can be used with Windows XP). Thank you for any hints, Bernd --=20 Bernd M=FCnt Durchwahl: 030/69032-509 euroscript Deutschland GmbH Zentrale: 030/69032-300 Abteilung IT-Management Fax: 030/69032-505 Alt-Moabit 91 Mail: Ber...@eu... 10559 Berlin Web: http://www.euroscript.de |
|
From: Peter B. <pb...@hg...> - 2006-02-15 09:49:30
|
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. In mathematics (esp. Calculus) you consider a sequence of numbers x getting closer to zero but without ever reaching it. You can do this by coming from the negative side (all values of x are negative) or from the positive side (all values of x are positive). This depends on the point of interest. That is why they (the mathematicians) often write "x -> +0" or "x -> -0". The "->" is the mathematical symbol describing the process "getting closer to ... but without ever reaching ...". In the case of the function 1/x it is interesting to differentiate between positive and negative values of x, resulting in different limits, resp. "1/x -> -infinity for x -> -0" and "1/x -> +infinity for x -> +0". The simple conclusion is there will be no value for x=0, 1/0 is undefined. Peter |
|
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. |
|
From: Richard V. W. <ric...@ai...> - 2006-02-15 06:45:01
|
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.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Per W. <pw...@ia...> - 2006-02-15 06:13:47
|
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. |