Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Submission + - Stockholm stock exchange paralyzed by order for -6 futures (geek.com) 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.

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:

Statistics are no substitute for judgement. -- Henry Clay