Because the Schwarzenfunfer Constant approaches 1! How the heck should we know, if we don't know what your code, and thus your math, look like?
And it probably doesn't matter, but you have "int" in all your variable names ... you're not really dealing with ints here, are you? ∞ Andy Badera ∞ +1 518-641-1280 ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Sun, Oct 11, 2009 at 4:03 AM, amirhosein najafi <[email protected]> wrote: > > Hi All, > The problem discussed is accuracy of numeric calculation result,in vb. > Namely I compare a numerical mathematic calculation, Line-Plan > Intersection, in VB.Net and Matlab 2007 the intersection point result > specify in below: > Matlab 2007 ----> > Xint=2.000000000000000 > Yint=1.333333333333333 > Zint=0.666666666666667 > But > Visual Studio 2008 ----> > Xint=2.0000000596046448 > Yint=1.3333333730697632 > Zint=0.66666668653488159 > Hand Calculated -----> > Xint=2.000000000000000 > Yint=1.333333333333333 > Zint=0.666666666666667 > why this error occurs? > Thanks. >
