3 ms·
In the same way that CPUs are ASICs for integer operations, that makes sense to me.
by dartos 2y ago
In the same way that CPUs are ASICs for integer operations, that makes sense to me.
- deleted 2y ago[deleted]
- saagarjha 2y agoMost CPUs do just fine on floating point too.
- actionfromafar 2y agoI'm still getting used to that.
- dartos 2y agoFloating point arithmetic _is_ integer arithmetic on the cpu level because of how floating point numbers work.
- fwip 2y agoThat's a good point - floating point operations are implemented with integer-math circuits (or at least can be - I'm not privy to how modern chip manufacturers implement them). E.g: your ALU may have an 11-bit adder specifically to add your f64 exponents. Some slides to get the gist of it: https://users.encs.concordia.ca/~asim/COEN_6501/Lecture_Notes/L4_Slides.pdf https://users.encs.concordia.ca/~asim/COEN_6501/Lecture_Note...