Joke Collection Website - Cold jokes - A binary algorithm for finding 0.5. Xiangxi
A binary algorithm for finding 0.5. Xiangxi
Decimal decimal to binary is rounded by multiplying by two, such as 0.625.
0.625 * 2 = 1.25 ... Round 1 up to 0.25.
0.25 * 2 = 0.5 ... rounded to the nearest 0.5.
0.5 * 2 = 1 ... turn 1+0.
Write down the integer of each step from top to bottom and connect it to 0. That is, 0. 10 1 is the converted binary number.
If it is 0.5, directly
0.5*2= 1, rounded to an integer, 1 is greater than 0.
So the result is 0. 1
- Previous article:What does credit mean?
- Next article:A complete collection of idiom stories in the third grade of primary school
- Related articles
- No one in this society should laugh at anyone.
- Water rescue joke
- The deeds of ancient celebrities, each about 100 words.
- He's laughing at me. What is this?
- What are the funny quotations on Singles Day?
- Joke story Little duck crossing the road
- Who is the richest American presidential candidate? Don't talk to me about Trump.
- Horrible and scary, soft as a kitten's constellation man!
- If someone tells you that riding a motorcycle is dangerous, how do you answer him?
- Why do some farmers no longer expect to become relocated households after "getting rich by demolition" in rural areas?