0

Link to the YouTube video

Transcript:

Alright. So, you're probably wondering what the difference between the float, the double and the long double is. Well, the float is the least precise, meaning that it can store the least amount of digits. The float can only store six digits to precision. So, that means that we can only store a number with six digits inside of any float variable.

How do you guys understand that? What exactly does that mean?

2

We normally say of precision, not to precision. It is referring to the accuracy of the number. So, 6 digits of precision would be something like .333333

| improve this answer | |
1

six digits to precision.

precisely 6 digits. But other digits will not guaranteed to be exactly like those 6 digits. Most of the time it will be round up.

| improve this answer | |
0

In that programming scenario, it means that float can only have 6 digits after the decimal point, an afirmation which seems to be incorrect (programming link)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.