Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: "Skybuck Flying" <spam@xxxxxxxxxxx>
- Date: Sat, 7 Jul 2007 01:37:28 +0200
Probably not 100% bug free.
I develop and test with range checking and overflow checking on.
So most range checking and overflow bugs are discovered and fixed.
Bye,
Skybuck.
"Rudy Velthuis" <newsgroups@xxxxxxxxxxxx> wrote in message
news:xn0f8e6svihxeey024rvelthuis@xxxxxxxxxxxx
Skybuck Flying wrote:
Your job is to prevent that from happening by testing, testing,
testing, testing, testing and testing, until your *** falls off ;)
So the software you release (do you actually release software?) is 100%
bug free, I suppose? The incredibly stupid logical errors you post here
are mere exceptions, right?
--
Rudy Velthuis http://rvelthuis.de
"The difference between fiction and reality? Fiction has to make
sense." -- Tom Clancy
.
- Follow-Ups:
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Rudy Velthuis
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Rudy Velthuis
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- References:
- Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Skybuck Flying
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Nicholas Sherlock
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Skybuck Flying
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Rudy Velthuis
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Skybuck Flying
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Rudy Velthuis
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Skybuck Flying
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Rudy Velthuis
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Skybuck Flying
- Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- From: Rudy Velthuis
- Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- Prev by Date: Re: Once again: 64 bit version of random needed. (Probably 128 bit needed)
- Next by Date: Re: <> Bit index operator.
- Previous by thread: Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- Next by thread: Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648
- Index(es):
Loading