Re: Divide by Zero
Ryan Heath <[email protected]> Tue, 26 Feb 2008 10:28:27 +0100
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
Because float & double have a *magic number* for infinity. BTW not only integers throw but also the decimal type. // Ryan On Tue, Feb 26, 2008 at 10:14 AM, Brady Kelly <[email protected]> wrote: > In a little more than a nutshell, why does the CLR only throw a divide by > zero exception for integers? > > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com