A float occupies 4 bytes in memory. How many bits are used
to store exponent part?
since we can have up to 38 number for exponent so 2 ki power
6 6, 6 bits will be used. If 6 bits are used why do not we
have up to 64 numbers in exponent?
Answer / Shailesh Kumar Pandey
'The IEEE 754 standard defines the binary floating-point format used in most modern computers. The single-precision floating-point format, which is a 32-bit value and represents floats, uses 8 bits for the exponent (exponent part), not 6. This allows for a range of values from -126 to +127, not up to 64 as you mentioned.nThe reason why we don't have up to 64 numbers in the exponent is that exponents smaller than -126 or greater than +127 are considered subnormal or infinity/NaN values, which require special handling.'
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between File pointer and Internal Charecter Pointer?
What is the acronym for ansi?
What is the diffrent between while and do while statement ?
How to implement a packet in C
What is pre-emptive data structure and explain it with example?
write a c program to find the sum of five entered numbers using an array named number
write the program for prime numbers?
73 Answers Accenture, Aptech, Infosys, TCS,
Explain the bubble sort algorithm.
what is printf
What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.
int x=sizeof(!5.856); What will value of variable x?
What are the applications of c language?