More Genres
No Artists Found
More Artists
Load All
No Albums Found
More Albums
Load All
No Tracks Found
Genre not found
Artist not found
Album not found
Search results not found
Song not found
How Do You Introduce A Mob%3F
C%2B Average Lyrics
No lyrics text found for this track.
The lyrics are frequently found in the comments by searching or by filtering for lyric videos
The lyrics are frequently found in the comments by searching or by filtering for lyric videos
@cock_sauce8336
@@paranjaynajan7717 Let me explain... Basically the whole error comes to the lack of needed bits. Your number is "made" out of powers of 2.
So decimal numbers are represented as
2^(-1) = 0,5
2^(-2) = 0,25
And so on...
To get all the necessary numbers "inbetween" you add a combination of these powers of two together.
But... Here comes the problem... There is only limited number of decimal bits available in your computer. So there's a limit to how precise your decimal number can get.
And when you play with different numbers it sometimes "overflows" and gives you less precise number than it theoretically should.
Hope it makes a bit of sense since I am not very good at explaining shit xD
@hi-ip2pj
step 1:
cut off anything before decimal and make result an integer
step 2:
add the results together
step 3:
cut off decimal and .
step 4:
add the results together
step 5:
make a string like this
{result from step 4}.{result from step 2}
step 6:
convert it to float
@Brad_Script
if I had to create a calculator in any langauge, I would create a Fraction class and store the number as an integer numerator and denominator. Then I would implement addition/mult/etc myself. It obviously slower than directly doing it on the CPU but it's 100% accurate.
0.1 + 0.2 becomes 1/10 + 1/5
then you would find the lowest common denominator, which is 10. then convert both fraction to take that denominator
1/10 + 2/10
the addition in here is simple, just add the nominators
3/10
you would then return that value as a Fraction object. You can then create a "toString" function to convert this to a number if you need it for display.
@LowLevelLearning
🔥COME HANG OUT ON TWITCH 🔥 https://www.twitch.tv/lowlevellearning
@williamdrum9899
First it was buffer overrun, then floats, what could be next. How about alignment faults?
@clementpoon120
stop making people think that c is hard
@zyansheep
BigNum gang...
@official-obama
step 1: prove 0.1+0.2=0.3
step 2: put it in comments
step 3: ???
step 4: profit
@gurrag79
Give me the dope on youtube man... I need it, bad.
@amateurprogrammer25
> "Programming in C until I go insane"
> Video is 1 minute and 15 seconds long
Sounds about right
@irian3x3
Too long.
@RaymondStormbl3ssed
That’s 1 minute and 10 seconds too long
@mbunds
He lasted 1 1/4 minutes? Superhuman!