Follow Slashdot stories on Twitter


Forgot your password?

+ - Stockholm stock exchange paralyzed by order for -6 futures-> 2 2

An anonymous reader writes: On Wednesday the Stockholm Stock Exchange was brought to a grinding halt by an order for -6 futures.

The reason boils down to how the system reacts to a negative number. It will attempt to convert -6 into a positive number it can then use to trade with. The problem is, -6 gets changed to 4,294,967,290 when converted to an unsigned integer. So rather than carrying out the intended 6 futures purchase, the stock exchange tried to buy 4,294,967,290 futures. Each of those apparently had a value of $107,000, meaning the cost of the transaction to the buyer would be about $460 trillion.

Link to Original Source
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Stockholm stock exchange paralyzed by order for -6 futures

Comments Filter:

The generation of random numbers is too important to be left to chance.