|
|
|
|
|
by ken
2405 days ago
|
|
I understand the "problem" from the hardware perspective, but I still don't accept their "basic answer" as reasonable. > It’s not stupid, just different. Over the past 50 years, my computer has adapted to how humans normally operate in nearly every other way. Why do they continue to use this system which produces results different from what any normal person expects? > Computers use binary numbers because they’re faster at dealing with those Computers are faster at dealing with all-caps ASCII, too, but we've accepted here that micro-optimization is less important than doing what people want. Most of the languages I use have even moved past fixnums. Why have we not improved real arithmetic since 1985? |
|
Lisps and Lisp-derived languages, like Scheme, have had a proper numerical tower, including rationals, for decades now. Using reals is optional, but using rationals and everything else imposes an efficiency cost, so people make their decision. Implementing rationals in hardware would not necessarily make them more efficient; that is, if you think having rational support in hardware would help, you have to make the case. It isn't an automatic win:
https://yosefk.com/blog/its-done-in-hardware-so-its-cheap.ht...