Snynet Solution Logo
MON - SUN: 10 AM - 6 PM
+60 11 5624 8319

Blog

Nasdaq had to adjust core code after Berkshire Hathaway share price high

Image Description

The share price of investment group Berkshire Hathaway rose so high recently that it briefly 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 legendary investor Warren Buffett, is so highly valued, its BRK.A stock exceeded the maximum value of a 32-bit variable.

This is 4,294,967,295 in decimal - and 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.

Date

07 May 2021

Sources


Share


Other Blog

  • Microsoft Teams might finally be worth using in Windows 11

    Microsoft has released a new preview build of Windows 11 that makes it even easier to share content from other apps to Microsoft Teams with attendees while in a meeting.

    With the release of Windows 11 Insider Preview Build 22499 to the software giant's Dev Channel, Microsoft is rolling out a new feature that allows Teams users to quickly share content from open app windows directly from Windows 11's taskbar to their video calls.

    This new update builds on another recently released feature that introduced the ability to quickly mute and unmute active meeting calls right from the taskbar.

    By making it easier to share content during Teams calls, Microsoft will eliminate the need to switch back and forth between apps just to share or reshare a window. With less interruptions, meeting attendees will have a much easier time focusing on their meetings in Teams.

    Sharing open windows in Teams

    Windows 11 Insiders can now test out this feature after downloading the latest preview build of Microsoft's new operating system.

    When in a meeting in Microsoft Teams, users can share content from their open windows by hovering over the apps in their taskbar. A new “Share this window” button will appear underneath an app's preview and by clicking on it, they can share their open windows with other attendees in a video call. By hovering over the window again and clicking "Stop Sharing", users can stop Teams from showing content on their PC or they can also choose another window to share content from it instead.

    This new feature also works while presenting full screen presentations in PowerPoint and by moving your mouse to the bottom, the taskbar will pop up so that users can share or stop sharing their presentations without interrupting attendees.

    According to a new blog post from Microsoft, the company is rolling out this new feature to a subset of Windows Insiders with Teams for work or school installed though it will be rolled out to even more users at a later date. The software giant also plans to bring this functionality to Chat from Microsoft Teams (Microsoft Teams for Home) at a later date.

    Looking to improve your video calls? Check out our roundups of the best video conferencing softwarebest business webcams and best headsets for conference calls

    Read More
  • Microsoft releases over 100 security updates - so patch now

    Microsoft's November 2020 Patch Tuesday security updates fix a number of bugs including a zero-day privilege escalation vulnerability.

    Read More
  • Microsoft could be ditching Intel for data centers, Surface devices possible too

    A Bloomberg report claims Microsoft is working on its own custom processors, in a move to ditch Intel.

    Read More
  • SEO wizardry abused to push malware into Google search rankings

    Cybercriminals are attempting to rank for common Google search queries.

    Read More

Find Out More About Us

Want to hire best people for your project? Look no further you came to the right place!

Contact Us