Nasdaq code burst into flames after Berkshire Hathaway reached new eye-watering share price Nasdaq Exterior


Earlier this week the share price of the investment group Berkshire Hathaway rose so high that it broke the code of the Nasdaq stock exchange.
As reported by The Register, Nasdaq uses 32-bit unsigned integers as opposed to 64-bit unsigned integers for stocks listed on its exchange. Normally this wouldn’t be a problem but because the investment group, run by Warren Buffett, is so highly valued its BRK.A stock exceeded the maximum value of a 32-bit variable which is 4,294,967,295 in decimal.
At the time of writing, one share of BRK.A stock is currently valued at over $437k per share. The stock is also listed on the New York Stock Exchange but unlike Nasdaq, it was unaffected by the bug.
Breaking Nasdaq’s code
Following BRK.A’s recent increase in price, the Nasdaq exchange stopped transmitting information about the stock on both its website and in the feeds of brokers and other financial organizations. Instead, the website for the stock displayed a message which read “Data is currently not available”.
As Nasdaq doesn’t store stock prices using a floating-point number format likely due to the fact that they can be approximate, the exchange multiply quotes by 10,000 and stores them as 32-bit unsigned integers. In this case the value 123,456 represents a stock price of $12.3456.
BRK.A’s current price of $437,131.0000 would be stored as 4,371,310,000 and this exceeds the maximum of 4,294,967,295 and for this reason, it would overflow to a value far lower than the actual stock price as it would wrap around from the maximum to zero and then go past zero to 43,713,100 or $4,713.100.
If Nasdaq had broadcast this price online, there would be utter pandemonium as investors would think the stock lost over $400k in value while consumers would believe that they could pick up shares of one of the world’s highest valued stocks at a bargain price.
According to Nasdaq, the exchange has said that the issue will be fixed by May 17 but the fact that Berkshire Hathway’s stock price broke it’s code is still quite interesting nonetheless.
Earlier this week the share price of the investment group Berkshire Hathaway rose so high that it broke the code of the Nasdaq stock exchange. As reported by The Register, Nasdaq uses 32-bit unsigned integers as opposed to 64-bit unsigned integers for stocks listed on its exchange. Normally this wouldn’t…
Recent Posts
- Amazon is launching Alexa.com and new app for Alexa Plus
- Alexa Plus explained: 9 things you need to know about Amazon’s new AI-powered assistant
- All of the announcements from Amazon’s Alexa Plus event
- Max’s ad-supported tier is losing CNN and the Bleacher Report
- Amazon’s Souped-Up Alexa+ Arrives Next Month
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010