Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I beg to differ here ... if the number is in binary then shr will produce a value way off limit. If the represantation is in bcd that's cake walk ... just shift it by 4* (no. of digits to be dropped)viswa said:hi,
division algorithms are complex.if u can afford some errors(apprximation to values) u can just use shift right function in vhdl(shr function).
jony said:i need to shift left an integer
652585432=>6525.
just to cut off the 5 left numbers
without the floating point
can anyone help me?