Does the 11,java have a long double type or more accurate than a double?
===========
Does the 11,java have a long double type or more accurate than a double?
Basic data types for Java
Data type size range default value
Byte (bytes) 8-128-127 0
Shot (short-integer) 16-32768-32768 0
int (integral type) 32-2147483648-2147483648 0
Long (length) 64-9233372036854477808-9233372036854477808 0
Float (float type) 32-3.40292347e+38-3.40292347e+38 0.0f
Double (dual precision) 64-1.79769313486231570e+308-1.79769313486231570e+308 0.0d
char (character type) + ' \u0000-u\ffff ' \u0000 '
Boolean (Boolean) 1 True/false false
BigDecimal:
You can use floating-point numbers of any precision.
BigInteger:
You can use an integer of any precision.
BigDecimal Essence is composed of several basic classes of Java composition, so you can expand arbitrarily. BigInteger.
Because it is not a base class, you cannot use the +-*/operator for direct calculations, you must use the Add, multiply, and so on subtraction
Basic data types of Java