Berkshire Hathaway’s Stock Price vs. 32-Bit Integers

HA! Very timely for my article in the latest xDev Mag:

Berkshire Hathaway’s Stock Price vs. 32-Bit Integers

(Berkshire Hathaway’s Stock Price Is Too Much for Computers - WSJ)

Alexander Osipovich, reporting for The Wall Street Journal (News+ link):

Berkshire Hathaway Inc. is trading at more than $421,000 per Class A share, and the market is optimistic. That’s a problem. […] On Tuesday, Nasdaq Inc. temporarily suspended broadcasting prices for Class A shares of Berkshire over several popular data feeds. Such feeds provide real-time price updates for a number of online brokerages and finance websites.

Nasdaq’s computers can only count so high because of the compact digital format they use for communicating prices. The biggest number they can handle is $429,496.7295. Nasdaq is rushing to finish an upgrade later this month that would fix the problem.

That number will look familiar to the programmers among you: it’s the limit of an unsigned 32-bit integer. Using 32-bit integers for share prices, with four digits reserved for decimals, isn’t that crazy, though, given that no other stock in the U.S. has a share price that’s even close to the limit:

The U.S. stock with the second-highest share price, home builder NVR Inc., is trading just above $5,100 a share. Using compact formats that take up less memory can make software more efficient, a high priority in the world of electronic stock trading.

At the root of the problem is Mr. Buffett’s decadeslong refusal to execute a stock split of Berkshire’s Class A shares. The 90-year-old billionaire has signed birthday cards to friends with the message, “May you live until Berkshire splits,” according to Fortune magazine.

Wednesday, 5 May 2021

Getting closer
image

Be interesting to see what happens, will it clamp, rollover to zero, or will it crash and the entire financial system, bringing down the global economy, sending us back a century or two?

3 Likes

The stockholders will then owe $-424,840 per share on the exchange.

3 Likes
1 Like
Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.