3 ms·
Fixed point is a perfect example of an abstraction ceiling that makes it unnecessarily hard to do the right thing. At first it's fine, but then you'll want to
by jjoonathan 4y ago
Fixed point is a perfect example of an abstraction ceiling that makes it unnecessarily hard to do the right thing.
At first it's fine, but then you'll want to do some filtering, and then some coefficient buckets will start to overflow, and then you'll start tracking exponents, and before you know it you've sunk engineer months or years into an ugly, buggy, underpowered reinvention of floating point numbers.
- ChuckNorris89 4y agoI've shipped safety critical motor control embedded software that runs flawlessly on thousands of cars using only fixed point math without it being ugly, buggy or underpowered, precisely because everything was computed only in fixed point fractional math. You're just making up FUD.
- jjoonathan 4y ago"It was good enough for me, so it should be good enough for everybody." Lol.
- otter-rock 4y agoSeems like you didn't need fixed point in the first place. It's for when you need guarantees.