beating_floating_point--posit.pdf
Notices where this attachment appears
-
@pernia @Inginsub @qint
> im saying, how do i multiply two numbers with decimals
I think you should do your own homework but when I wrote "Just do a 32-bit multiply, this yields a 64-bit result. You need to shift it right by 16 bits to correct the fractional part.", I already *did* your homework for you.
> ingisub suggested i use ieee 754 numbers, probably the most sane approach at this point.
You could work directly on the IEEE-754 numbers but "turn on the FPU" is probably way easier. If you wanna build it yourself from scratch, here, this is allegedly better:
beating_floating_point--posit.pdf