Re:Berkshire Hathaway’s stock price is too high for Nasdaq c...
by cout on Wednesday May 05, 2021 @05:07AM
(#27047742)
I'm trying to remember how we used to store it -- decimalization was 20 years ago this year!
I think we had a discriminant for the denominator, so it wasn't a rational type, but we could also easily represent both fractional and decimal prices. We could handle fractions smaller than 1/16, though I don't know if any equities traded at such prices. What you suggest would also be reasonable, but would have had to be rewritten when decimalization happened.
I think we had a discriminant for the denominator, so it wasn't a rational type, but we could also easily represent both fractional and decimal prices. We could handle fractions smaller than 1/16, though I don't know if any equities traded at such prices. What you suggest would also be reasonable, but would have had to be rewritten when decimalization happened.