answersLogoWhite

0


Best Answer

Floating point numbers are always stored according to the underlying architecture. The programming language is immaterial, it must use the same representations as the hardware itself, or at least provide an abstraction of it. C does not provide any abstractions for built-in data types.

Most modern computers use the standard IEEE 754 representation, which caters for single-precision (equivalent to float in C), double-precision (double) and extended-precision (long double).

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

4 bytes (32 bits) for float, which is the "single precision".

8 bytes (64 bits) for double, which is the "double precision".

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is maximum length of float in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many bytes are in a decimal variable?

It depends on the language. In C/C++, decimal values are specified using float, double or long double types. A float is a single precision floating point value that is typically 32-bits in length, however the actual length is implementation dependant. A double is always at least as long as a float while a long double is always at least as long as a double. To determine the actual length at compile time, we use the sizeof() operator.


What is MAXSIZE?

MAXSIZE is a C language macro defining the maximum length for all standard library input buffers.


What is the maximum length of a whale in meters?

a maximum length of a whale is 900 metres


What is the maximum length allowed in difining a c variable?

In order to claim compliance with ANSI C standards, the minimum maximum for internal identifiers and macros is 63 characters, and external identifiers is 31 characters. Vendors are encouraged to avoid imposing a maximum value whenever possible.


C programming percentages?

float percent = ((float)CurrentItems / (float)MaxItems);


What is the Maximum length of cricket bat?

maximum permitted length of bat is 38" inches.


What is Maximum length of a cricket bat?

maximum permitted length of bat is 38" inches.


10 What is the maximum length of a serial cable?

The current maximum length for a serial cable is around 50 meters. Different cables have length limits with the maximum varying.


What is the maximum length of field and table names?

64characters


What is the maximum question length on WikiAnswers?

The maximum question length on WikiAnswers is 200 characters, including spaces.


Field names can be a maximum of how many characters in length?

Field names can be a maximum of _____ characters in length


How do you declare an array of 8 floats?

In C float a[8]; In Java float a[] = new float[8];