Numeric Values Representation in Java: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
==Floating Point Primitive Type== | ==Floating Point Primitive Type== | ||
{{Internal|Java_Language#Floating_Point_Primitive_Types|Floating Point Primitive Types}} | |||
==Literals== | ==Literals== |
Revision as of 19:18, 6 April 2020
Internal
Overview
⚠️ Work in Progress.
Primitive Types
Integral Primitive Type
Floating Point Primitive Type
Literals
There are no byte
literals, but any int
literal that falls within the range of a byte can be assigned to a byte variable.
TODO
- Primitive Types
- Wrapper Types, auto-boxing.
- Number https://www.geeksforgeeks.org/java-lang-number-class-java/
- BigInt
- https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
- https://docs.oracle.com/javase/tutorial/java/data/numberclasses.html
- https://www.inf.unibz.it/~calvanese/teaching/06-07-ip/lecture-notes/uni04.pdf
- https://www.ntu.edu.sg/home/ehchua/programming/java/datarepresentation.html