Computer Science, asked by srivallimanjula298, 9 months ago

What is floating constant

Answers

Answered by acchu5936
52

Answer:

  • For a decimal floating constant, the significand is interpret.
  • f the significand begins with the character sequence 0x or 0X, the floating constant is a hexadecimal floating constant. Otherwise, it is a decimal floating constant.
  • f the significand begins with the character sequence 0x or 0X, the floating constant is a hexadecimal floating constant. Otherwise, it is a decimal floating constant.For a hexadecimal floating constant, the significand is interpreted as a hexadecimal rational number, and the digit-sequence of the exponent is interpreted as the integer power of 2 to which the significand has to be scaled.

Explanation:

  • A "floating-point constant" is a decimal number that represents a signed real number. The representation of a signed real number includes an integer portion, a fractional portion, and an exponent.
  • Use floating-point constants to represent floating-point values that cannot be changed.

I hope this ANSWER will HELPFUL..

Attachments:
Answered by Anonymous
3

Answer:

A "floating-point constant" is a decimal number that represents a signed real number. The representation of a signed real number includes an integer portion, a fractional portion, and an exponent. Use floating-point constants to represent floating-point values that cannot be changed

Similar questions