Thread: Excel Math Bug
View Single Post
  #73   Report Post  
Posted to microsoft.public.excel.programming,sci.math
Phil Carmody Phil Carmody is offline
external usenet poster
 
Posts: 8
Default Excel Math Bug

"Dik T. Winter" writes:
There are more places where some programming languages do not give you
what you thought they should do. Exponentiaton is an example. What is:
a ^ b ^ c?


Some programming languages don't even treat that as exponentiation.
And not all of those treat it as bitwise XOR.

There is not strict left to right rule in mathematics...


There isn't even strict lexing in mathematics -- is 3 followed by a
raised dot, followed by 14, an approximation to pi, or the answer to
life, the universe and everything?

Convention, convention, and convention.

Phil
--
1st bug in MS win2k source code found after 20 minutes: scanline.cpp
2nd and 3rd bug found after 10 more minutes: gethost.c
Both non-exploitable. (The 2nd/3rd ones might be, depending on the CRTL)