answersLogoWhite

0

A double type in Java is a 64-bit IEEE 754 floating point value. The basics of this data format consists of 3 parts: base, bits, and exponent. The 64-bit specification says that the base is 2, the bits are 53, and the max exponent is 1023. Without going into too much detail, this means that the largest value that a double can store is: (2-2-52)*101023 and with a precision (smallest non-zero number) of 4.9*10-324.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How can I convert a float to a double in Java?

To convert a float to a double in Java, you can simply assign the float value to a double variable. Java will automatically perform the conversion for you. Here's an example: java float floatValue 10.5f; double doubleValue floatValue; In this example, the float value 10.5f is assigned to the double variable doubleValue, which will now hold the converted double value.


Does long int and long double data types are used in java as in c?

There is does a 'long' datatype in java, but no 'long double'.


What is subroutine in java?

Subroutine mean what (in java)?


Why java is not a pure object oriented?

java is not purely oops because of primitive types in java like int and float double


What does Systemout mean in java?

System.out refers to the Java console.


What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


What does the word java mean?

Java is an island in Indonesia, but in slang it means coffee.


What is the size of a Java object and how can you find it?

Most Java objects seem to be 32KB and are located under your downloaded programs. If you double click on your "My Computer" icon then double click on "Local Disk (C:) " there you should find an area with a "Windows" folder double click on that and there should be a "Downloaded Programs" folder in which if you double click on that you will be able to then see your Java objects - OR - instead of going into the "Windows" folder you could double click on the "Programs" folder and there will be a "Java" folder in there (which ever you prefer).


What does the term Java logging mean?

Java logging is data logging for the Java platform. Logging is a term in software for recording activity. Therefore Java logging is recording activity for Java.


How do you take double value input in java programming?

tamayoalfred27y.c


What are fundamental data types in java?

Assuming by "fundamental" you mean the primitive data types: boolean, byte, char, short, int, long, float, and double


Does java script coding mean using it for Java programs only?

Java script coding is computer coding, many things require Java, and you need to have Java enabled to view these types of programs.