The solution for the question that you have asked is: Adding 0.1 with 0.1 is like adding 1/3 with 1/3 in decimal we get 2/3. 1/3 + 1/3 = 2/3. i.e 0.3333+0.3333=0.6666 We get the exact value of 2/3 when we add 1/3 with 1/3 Thank you sir Love from India ❤❤❤❤❤
@pankajpandit4086 Жыл бұрын
Hi sir, I always stuck in dynamic programming please make a video on it. This will help me and others.
@sahilandsarra Жыл бұрын
This video is coming soon
@adamidris2324 Жыл бұрын
Well adding 'f' to them all will solve the problem. 0.1f +0.2f is surely equal to 0.3f
@krishnakumars2921 Жыл бұрын
Sub test() Dim n1 As Double, n2 As Double, n3 As Double n1 = 0.1 n2 = 0.2 n3 = n1 + n2 MsgBox (n3) End Sub Works fine in VBA
@ByTechSolutions Жыл бұрын
Always my mentor I thank you for your advice more so for an upcoming day Software Engineering like me
@sahilandsarra Жыл бұрын
Thanks 🙏
@johnstephens2412 Жыл бұрын
The only lecturer I need😊
@sahilandsarra Жыл бұрын
❤️
@lavoyageuse-jx9zs Жыл бұрын
Congratulations 500k ❤❤❤
@sahilandsarra Жыл бұрын
Thanks ❤️
@allaboinadivakar1976 Жыл бұрын
concept is just lit💥
@sahilandsarra Жыл бұрын
Thanks 🙏
@ayqikz11 ай бұрын
easy def func(a,b): if a == 0.1 and b == 0.2: print(0.3)
@UnyimeUdoh-ny3lp Жыл бұрын
Please can you make a video on recursion because the concept is somehow confusing. Thanks
@sahilandsarra Жыл бұрын
Will try cover in the upcoming videos
@UnyimeUdoh-ny3lp Жыл бұрын
@@sahilandsarra Thank you very much sir. I stopped learning it after struggling for a week jumping from one tutorial to another. I told myself maybe it is because I have not known some other stuffs yet. But now, I have learnt those things and recursion is still a hard nut to crack.
@sasankchintham1750 Жыл бұрын
The number 0.1 and 0.2 cannot be added to the exact number 0.3 , the binary sequence of numbers is not the same . But 0.1 and 0.1 is precise and so it can be added.
@rasid_khan11 ай бұрын
@CallmeGuruOffical How ? 0.33333.... + 0.33333......... It's like this
@AhmedSalah-uc6tt9 ай бұрын
what does that mean ?
@AbhibrataNandy Жыл бұрын
0.1=0.0 0011 0011 0011 0011... and 0.2=0011 0011 0011... Now 0.1+0.1=0.0 0011 + 0.0 0011 = 0.00110 ==0.2 (taking onlly 5 bits after decimal; can be similarly tested for 23 bits or 52 bits)
@Usercs13 Жыл бұрын
Congratulations 500k🎉❤
@sahilandsarra Жыл бұрын
Thanks ❤️
@Abhijeet-sm5em11 ай бұрын
we can store numbers upto 2^32 by simple permutation and combination there are 2 ways to store number at each bit and there are 32 such places so 2 gets multiplied 32 times
@michaelkewl7056 Жыл бұрын
It never reaches a definite value which can be stored in memory. Btw, it was different this time as it didnt end with " I will see you in the next one." Thank you Sahil "Au revoir"🙂
@studiesinformation43611 ай бұрын
00:02 Computers struggle with basic math calculations. 00:40 Computers store numbers in binary representation. 01:18 Computers store information in binary representation using bits. 01:59 Computers have limitations in storing large integer values due to bit constraints. 02:31 Computers struggle with basic fraction calculations due to how they store fractions. 03:13 Computers cannot store decimals directly. 03:52 Computers have limitations in representing decimal fractions in binary 04:32 Computers cannot read and understand precise values
@youssefelshahawy762311 ай бұрын
Can you talk about OOP and make a full guide or a complete roadmap for OOP & Data structure and algorithms for a specific language espicially python, java or c++ from begginer to an expert thank you for your great content ❤❤❤
@sanchet061011 ай бұрын
This concept is in our DLCA subject second year engineering.
@codeanddata11 ай бұрын
Post next video soon brother.. Cannot wait
@joydebnath2658 Жыл бұрын
When use 0.1 twice. It is Precise like same....but when 0.1 and 0.2 used they do not precise same.. Thats why it is not equal...
@JohnDoe-vu5hy Жыл бұрын
This is such a great video... thanks a LOT 🙏
@sahilandsarra Жыл бұрын
Thanks 🙏
@Rahul_Rao_00111 ай бұрын
Thanks for the video , I'll try to solve .
@veljko1898 Жыл бұрын
Hi, I really enjoy watching your videos and appreciate what you do. I have a question. I'm a bit confused. I'm currently in college, and , I started programming. I'm curious if you suggest those of us who haven't started our IT careers yet to follow your advice from one of the videos and begin by learning Java, and finding a job in that field, or can we directly start learning AI and look for junior positions in that field? I already covered basics of java and I am ready to to step to(guided projects) . But I now don't know is AI maybe better option?
@2BeKind2all11 ай бұрын
I had a question,pls pls help me.. I am a fresher currently in an mnc with 40k salary but the project i have been assigned is a project where i need to design UI for their windows platform. To me it sounds very boring and outdated. Like it's just windows with no modern tech like angular etc. I don't know what to do now.. Can't leave the company due to financial issues.. But this project won't help me while switching after a year or so..what can i do????😢
@zarimariam557211 ай бұрын
I have tried your suggested courses and they are really good.Please suggest good courses on operating systems and computer networks.
@saleemsayyed644411 ай бұрын
Hlo this is Saleem can u please suggest best way to learn spring and spring boot and some best youtube channels for learning from starch
@TalhaShehzad-l2d10 ай бұрын
In Dev C++ this program display " Computer are good at maths" why
@jana238011 ай бұрын
Hi. May I know where can I find a community to discuss topics related to coding. web development to be precise.
@theyogaguy9423 Жыл бұрын
bcoz 0.1 and 0.2 both are sort of infinite for computer so infinite + infinite = infinite and infinite == infinite ? I don't know if it's correct
@Brolylovesme Жыл бұрын
Do you have any coursera recommend courses to learn or relearn calculus?
@mohamedatef309411 ай бұрын
Please, can anyone tell me what is the IDE or website it's used in this video?
@mahmoudomar530 Жыл бұрын
Thank you
@vedparkashgaba5478 Жыл бұрын
Good and useful knowledge Thanks for sharing
@sahilandsarra Жыл бұрын
❤️❤️❤️
@selvakumars-h7m11 ай бұрын
Hey man you are just greateeee.....
@zoranProCode Жыл бұрын
So What is solution?!
@zainabjaved35211 ай бұрын
Please make videos at least two in week
@rubyciide5542 Жыл бұрын
Well not as much as i do
@horacioparraguirre748611 ай бұрын
True 👍
@gauravdaura Жыл бұрын
Like if your are an embedded engineer or know the rule of multiplication or division used in floating point conversions
@manjunathc34111 ай бұрын
Can you give some course giveaway in udemy or any other platform , It will be helpfull us like indian learners I am motivated from you , I was previously started learning DSA PYTHON Back in 2021 , once I saw your way to google I was much more motivated now and started learning javascript for web development so any course that available in udemy for free I just enroll a learn , but some instructer course we wont get for free who really teach well .......❤
@rishiraj2548 Жыл бұрын
🙏👍
@sahilandsarra Жыл бұрын
🙏
@AdlinPG11 ай бұрын
0
@coldbloddedgaming Жыл бұрын
256
@emirturkoglu6752 Жыл бұрын
cpu issues
@ajaylodhi9061 Жыл бұрын
First like
@anuragtekam4588 Жыл бұрын
First
@K.CharanSaiSrinivas Жыл бұрын
Iam the 1st view
@adhamsalaydinov637211 ай бұрын
float f1 = 0.1f; float f2 = 0.2f; if(f1+f2 == 0.3f) { System.out.println("Code worked without issue!!! "+(f1 + f2)); }else { System.err.println("Error"); } This code worked without any issues