Computer Science, asked by gdutdha3154, 1 month ago

How are floating point numbers represented in Java?
Please tell the answer fast I am waiting for that​

Answers

Answered by anjalirehan04
1

Java uses a subset of the IEEE 754 binary floating point standard to represent floating point numbers and define the results of arithmetic operations. Virtually all modern computers conform to this standard. A float is represented using 32 bits, and each possible combination of bits represents one real number.

please mark me brain mark list

Answered by AbbasMaths
3

Answer:

Floating Points Numbers are represented in two ways -

(1) – Double – In this , you assign the number directly . It is considered as default .

Example :

x = 0.125

(2) – Float – In this , you always put a suffix 'f' after the value .

Example :

x = 0.125f

Similar questions