raja.mugavai Posted July 31, 2014 Posted July 31, 2014 Convert the following fractional decimal to binary... 1/2 = 0.1 1/4 = 0.01 1/8=0.001 How this possible... kindly help me..
fiveworlds Posted July 31, 2014 Posted July 31, 2014 (edited) 1 and 8 are numbers or operands. / is often used as a numerical operator. The binary for it tells the computer oh I have to divide. Then there is division using subtraction. Remember learning division in primary school? Computers have subtraction and addition. Numbers only go to z bits of precision depending on computer. Also the computer language you use and the complexity of your function makes a difference. http://msdn.microsoft.com/en-us/library/3b1ff23f.aspx //Floating point quotient: 2.33333333333333 14 bits of precision. Edited July 31, 2014 by fiveworlds
EdEarl Posted July 31, 2014 Posted July 31, 2014 In decimal-positional notation consider a number such as 12.34, which equals (base 10) 10*1 + 1*2+0.1*3+0.01*4 = 101*1+100*2+10-1*3+10-2*4. In binary-positional notation consider 10.101, which equals (base 10) 2*1+1*0+0.5*1+0.25*0+0.125*1 = 21*1+20*0+2-1*1+2-2*0+2-4*1.. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now