Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×
Software

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:

Perfection is acheived only on the point of collapse. - C. N. Parkinson

Working...