what is infuriating bugs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

what is infuriating bugs?

Computers can't store floats perfectly accurately, in the same way that we can't write down the complete decimal expansion of 1/3 (0.3333333333333333...). Keep this in mind, because it often leads to infuriating bugs!

7th Aug 2019, 6:36 AM
Ravishankar V
Ravishankar V - avatar
10 Answers
+ 3
Bugs that make you angry.
7th Aug 2019, 7:39 AM
Sonic
Sonic - avatar
+ 2
Computers often give similar results: 5.999999999999999 4.000000000000001 That's because computers store numbers as binary, it often causes problems when you try to change some decimal expansions to binary. 0.5 = 0.1 _2 but 0.3 ~ 0.010011001100110 _2 = 0.299957637...
7th Aug 2019, 8:03 AM
Seb TheS
Seb TheS - avatar
+ 2
I was unaware that this text was copied from the lesson, I doubt everyone reading this would know them off by heart; again, a simple 'please don't copy text from the lesson' would have made it clearer what you meant - or you could have even put what you just typed, 'Please look up vocabulary on your own'. I didn't go out of my way to read anything into your first post, it wasn't clear what you meant from my perspective because you just posted a link to a dictionary with no comment.
7th Aug 2019, 8:45 AM
Rincewind
Rincewind - avatar
+ 1
In that case it is still necessary for you to communicate clearly; posting a link with no explanation, especially when it doesn't seem to bear any link to the body of the question, on a site where people can neither see or hear you can come accross as passive-aggressive despite that not being your intention.
7th Aug 2019, 7:56 AM
Rincewind
Rincewind - avatar
+ 1
Okay, Rincewind, you have a point there - to third persons reading the post it's not necessarily obvious that the text is a copypaste from a tutorial, so they may get the wrong message.
7th Aug 2019, 8:57 AM
HonFu
HonFu - avatar
+ 1
Thank you for discussing this with me, HonFu [#GoGetThatBugChamp!]
7th Aug 2019, 8:59 AM
Rincewind
Rincewind - avatar
0
While I understand that this isn't an appropriate post it's also not appropriate to comment on someone's use of English, especially when they have made the effort to use a language that isn't their main one.
7th Aug 2019, 7:11 AM
Rincewind
Rincewind - avatar
0
Rincewind, I didn't comment anything, I linked a tool that the poster should use before asking here about the meaning of English vocabulary. We can not translate the tutorials word by word for people into every language, that's not the purpose of q&a. A little bit of effort to understand the material can be expected.
7th Aug 2019, 7:36 AM
HonFu
HonFu - avatar
0
Rincewind, there may be cases where I'd agree with you. This case on the other hand is *very* obvious: The body of the language is 100% just the lesson text copied, and the headline asks about the meaning of vocabulary, and nothing else. One would need to go out of one's way to read anything else into my post than: 'Please look up vocabulary on your own.'
7th Aug 2019, 8:30 AM
HonFu
HonFu - avatar