4th December 2019

linuxquestions
15

How big is a float?

In gcc on most Linux kernels, a float is 32 bits and a double is 64 bits. A 4 byte float can store values between 1W37 to 1E-37 (and zero) with about 6 decimal digits of precision.

Similarly, you may ask, what is the size of a float variable?

Floating-Point Types
TypeStorage sizeValue range
float4 byte1.2E-38 to 3.4E+38
double8 byte2.3E-308 to 1.7E+308
long double10 byte3.4E-4932 to 1.1E+4932

How many bytes are a float?

4 bytes

What is a good float?

Float values are the precise wear value of a skin. This value is a value between 0 and 1, where 0 is the least wear. The float values are mostly used in trading and trade-ups, and for most people the exterior quality is enough to know.
Write Your Answer

Rate

100% people found this answer useful, click to cast your vote.

5 / 5 based on 1 vote.

Bookmark

Press Ctrl + D to add this site to your favorites!

Share