- 7
- 102 381
Yashmerino
Romania
เข้าร่วมเมื่อ 2 ส.ค. 2024
I make different kind of coding videos such as code tutorials, programming language reviews and the latest tech-related news. Buckle up, let's dive together into the coding journey.
For business inquiries: yashmerino@gmail.com
For business inquiries: yashmerino@gmail.com
Why Google Calculator Fails At Math?
Ever wondered why Google Calculator messes up simple math with huge numbers? In this video, we dive into the quirky world of computing and explore how big numbers, floating-point formats, and binary math can cause Google to make surprising mistakes.
#coding #programming #math
🌿 My Social Links
- linktr.ee/yashmerino
📃 Topics Covered
- What is point floating format?
- Why does Google Calculator fail at math?
- What is binary system?
#coding #programming #math
🌿 My Social Links
- linktr.ee/yashmerino
📃 Topics Covered
- What is point floating format?
- Why does Google Calculator fail at math?
- What is binary system?
มุมมอง: 5 689
วีดีโอ
You Don't Need Microservices
มุมมอง 2Kหลายเดือนก่อน
Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are Independently deployable and Loosely coupled, Services are typically organized around business capabilities. Each service is often owned by a single, small team. #microservices #coding #programming 🌿 My Social Links - linktr.ee/yashmerino 📃 ...
You Should Stop Studying Coding
มุมมอง 1.6Kหลายเดือนก่อน
There are no shortcuts to becoming a software developer; success requires consistent practice, patience, and real coding experience rather than just watching tutorials. Embrace the journey and commit to learning over time. #coding #computerscience #tutorial 🌿 My Social Links - linktr.ee/yashmerino 📃 Topics Covered - Why You Should Stop Studying Coding? - Why You Should Stop Comparing Yourself?
Is AI Really Just If-Else Statements?
มุมมอง 759หลายเดือนก่อน
AI (Artificial Intelligence) is way more complex than if-else statements. While if-else statements are basic programming tools, AI uses advanced techniques and algorithms that go far beyond simple conditional logic. #ai #chatgpt #coding 🌿 My Social Links - linktr.ee/yashmerino 📃 Topics Covered - What is AI? - Machine Learning and Deep Learning - Is AI Really Just If-Else Statements?
Why You Should Stop Using Clean Code
มุมมอง 816หลายเดือนก่อน
Code is clean if it can be understood easily - by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability. #programming #coding #cleancode 🌿 My Social Links - linktr.ee/yashmerino 📃 Topics Covered - What is Clean Code? - Why you should stop using Clean Code...
Why You Should Avoid Inheritance
มุมมอง 168หลายเดือนก่อน
In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object or class, retaining similar implementation. Also defined as deriving new classes from existing ones such as super class or base class and then forming them into a hierarchy of classes. #coding #programming #oop 🌿 My Social Links - linktr.ee/yashmerino 📃 Topics Covered - What is inherita...
Why Can't CPUs Do Math?
มุมมอง 91Kหลายเดือนก่อน
In computing, floating-point arithmetic (FP) is arithmetic that represents subsets of real numbers using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. Numbers of this form are called floating-point numbers. #programming #coding #computerscience 🌿 My Social Links - linktr.ee/yashmerino 📃 Topics Covered - What is point floating math? - W...
Ehhh... it's close enough
Because CPUs did not attend elementary school
At the point of input conversion Python makes a mistake, encoding 0.1 and 0.2 as binary floating point numbers, while the input is clearly given as decimal floating point. This has nothing to do with CPU or floating point or whatever. It's a software mistake, one of many unfixed Python mistakes.
C++ And C
4,(max calculater amount of 0s)- 399999999999 = 0 what??? why does it say 1000000000 proof its ture
I develop with Delphi, when someone create a condition with floats its very important use Round with a significant decimal places, because if you compare two floats sometimes the processor can't do properly exactly by the reason explained in the vídeo, its like compare two variables "(0.12 = 0.12) = false" but real value of one is "0.1199573638" and the program execute a wrong instruction
how c++ can do it while python made from c++?
Just calculate on your own and print it.
THAT MUSIC AT THE START NOSTALGIA
10001 = 11?
Skill issue
But nowdays 64gb of ram is almost standard, why doesnt "real data point" is used?
The Orange Game song at the beginning. Nostalgia!
julia> 1//10+2//10 3//10
echo 0.1+0.2 | bc -l .3
Silicon errors. Silicon inpuriries. Your mom.
2:15 ....ahhh....it hurts....you are monster!.....see u in hell dude
0:56 me whos still in hs 💀
"point floating"? you mean FLOATING POINT- there's no such thing as "point floating".
Just a little correction on the title, it's correctly written as "why does the google calculator fail at math". You can change the title, please do it.
So what you refer to simple AI like chatbot, I’d say that’s not even AI.. the word AI is overly used these days
"pyton"
Is this also why multiplying two large, but finite numbers end up as “Infinity?”
the number is too big for the calculator to understand
in lua 0.1 + 0.2 somehow gave 0.3 in the online compiler
at least the apple calculator (accessable via app store for iphones, or cmd+space for ipads/macs) has it right, right?
if it uses float fuck no
@@TheFriok idk what float fuck means
In my Google Calculator app, it works fine! I tested it and it worked perfectly...
floating point duh
2:16 Noooooo
PRINT 0.1+0.2 prints out 0.3 on my ZX Spectrum.
Their measurement converter also works incorrectly. If you write integer, it works fine, but if you type float value, it adjusts formula to have same answer as if you wrote integer in it. (Example: you write 1.3 meters but it will give you 100cm instead of 130cm)
This is one case where bing is actually better than google
When I typed 100000000000000000000001-100000000000000000000000 in bing, it converted it to 1.0000000000000001e+23-1e+23 and evaluated it as 46
@@jhgvvetyjj6589 lol
@@jhgvvetyjj6589 bing bing bu-bing bu-bing bu-bing bing bing bu-bing bing bing bu-bing is what a Microsoft employee sang when they were trying to rename their search engine
Same reason on why you can't enter more than 15 digits on an android calculator
Same thing for iOS, glazer.
@Diamond-v9 I didn't know that I just put android only because I thought I would get insulted by iOS glazers
As a math nerd and a android user the android calculator kinda sucks with complex calculations to be honest
So how to fix it?
lmao i tried the 4000000000000000001-4000000000000000000 thing and it's really sad that it equaled 0
People here are complaining about the fact that you made a video about floating point precision, I think the major issue here is that the programmers who built Google's calculator used floats for it, most languages have builtin BigNumber support, which is a structure that allows you to do math at arbitrary precision. As you said, we don't have infinite memory, but we don't need to go too far beyond the limits of a modern computer with any calculation you can type into the search box. And if the calculations happen on the client side, they could be run async and have a loading spinner in case the numbers are really large
The built in windows calculator seems to handle it just fine so I think it is fair to say the google calculator has failed at its task.
another floating point video... 💤💤😴
😴
you made my google home start listening by saying "...okay google, are you doing arlight??"
Mine too opened up :D
floating point precision is common knowledge why am i seeing so many videos about it
Ask a random person on the side of the street what a floating point number is. Unless they have an interest in computers, then chances are they're not gonna know what you're talking about.
ik dude
Because programmer is ugly
what's the song on the first part
It's from a Russian series th-cam.com/video/Wfpc_1bK8ao/w-d-xo.htmlsi=CDDIkawopHsEV9Qc
In case someone wants to know more about this, just read IEEE754. I had to learn it the hard way. But to be honest, in my opinion this detail is relatively unimportant in my daily programming business. In fact, I was programming for several years before I even learned about it. Sometimes I was wondering about odd results but none of them was important enough to seriously mess with the things I was trying to achieve.
another floating point video DJKFHSJKHFLKJDHFJSD
still a good video tho
<3
nvm i tried it and it also gave 0
it probably reached 64 bit integer × 64 bit integer
it's signed 🙏🙏🙏
Heyo, I messed up the numbers a little bit in the video, noticed it only on the editing stage :(
What if math is wrong? 🤔
Isn't adding the job of the ALU and not the CPU?
Please call it floating point, not point floating
Bro erase that before AI takes control, otherwise they will find you hehehee