how primitive data type floating point is stored in computer?
Answers
Answered by
9
Answer:
In most programming languages, all basic data types are built-in. In addition, many languages also provide a set of composite data types. Opinions vary as to whether a built-in type that is composite should be considered "primitive".
Answered by
2
The floating point numbers always represent the limited precision rational number that having a fractional part. These floating point numbers are then stored internally in a specific format.
Explanation:
- This format is equivalent to scientific notation. By default, it is in binary and sometimes it can be in decimal format.
- As these floating point numbers have very limited precision, only the subset of numbers is representable.
- By default, floating point number requires 4 bytes of memory space.
Learn more about primitive data type
What are primitive and non primitive data type
https://brainly.in/question/2660573
A non primitive data type is also referred to as reference type. Why
It is in context of Java
https://brainly.in/question/5908117
Similar questions