s0g0
Newbie level 5
Hi all,
I am going to implement "Floating Point Arithmetic" for my Prediction Circuit, but i have no idea how to represent this Arithmetic in term of hardware.
Basically, i know i need some kinda of shift register or ALU....For shift register. Shift left means "x2" or "1/2" when rotate right, they are 2-based Arithmetic, but in FP, they all 10 based Arithmetic, like: 0.02 = 2x10^-2, how to achieve 10^-2 by circuit? Have anyone done Floating Point Arithmetic in hardware before?
I am going to implement "Floating Point Arithmetic" for my Prediction Circuit, but i have no idea how to represent this Arithmetic in term of hardware.
Basically, i know i need some kinda of shift register or ALU....For shift register. Shift left means "x2" or "1/2" when rotate right, they are 2-based Arithmetic, but in FP, they all 10 based Arithmetic, like: 0.02 = 2x10^-2, how to achieve 10^-2 by circuit? Have anyone done Floating Point Arithmetic in hardware before?