This is Argyn's blog. I comment on topics of my interests such as software, math, finance, and music. Also, I write about local events in Northern Virginia, USA and all things related to Kazakhstan

Friday, August 11, 2006

Java doesn't detect overflow in integral types

I totally forgot that Java doesn't detect overflow conditions in integral types, and pays the price. Ok, the price wasn't that high. It took me 0.00001 secs to realize that there's overflow in computations when I saw the negative probabilities :)

Read more at mindprod.com/jgloss/ove...

No comments: