Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
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:

I THINK MAN INVENTED THE CAR by instinct. -- Jack Handley, The New Mexican, 1988.

Working...