Re: Divide by Zero
Frans Bouma <[email protected]> Tue, 26 Feb 2008 10:35:15 +0100
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <007d01c8785a$e4636c90$ad2a45b0$@nl> |
> In a little more than a nutshell, why does the CLR only throw a divide by
> zero exception for integers?
I think because, if I recall correctly, a floating point number is
always an approximation, so you can have a floating point value which seems 0
but actually isn't.
Though for decimals, it should indeed...
FB
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com