RAHUL_KUMAR
Member level 5
- Joined
- Jun 5, 2017
- Messages
- 90
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 8
- Location
- Bhubaneswar,Odisha,India
- Activity points
- 780
8051 ,arithmetic operation of decimal number (value contains point)
In 8051 , the problem which is aroused is how to do operation of a number contains point.
23/1.085
We can't store the decimal value((like 1.085) in any register . and if we multiply numerator as well as denominator by 1000 ,the result will become more than 16 bit.
any proper solution with minimum number of registers ,to divide the number like 23/1.085 ?
In 8051 , the problem which is aroused is how to do operation of a number contains point.
23/1.085
We can't store the decimal value((like 1.085) in any register . and if we multiply numerator as well as denominator by 1000 ,the result will become more than 16 bit.
any proper solution with minimum number of registers ,to divide the number like 23/1.085 ?