# How can i get 64 bits of the fractional part of the square root of a number in java?

How can i get 64 bits of the fractional part of the square root of a number in java?

## Answers

You will have to find a library that calculates the value to 64 fractional bits, or study the algorithms and write it yourself. A double **does not store** 64 fractional bits; it stores 64 **total** bits. Only 53 of those are used to represent the fraction ("mantissa", technically speaking; a number like 1.xxxxxxx in binary, except the 1 is always 1, so there is no need to record it), 12 are used for an exponent (so that the double can represent very large numbers as well as numbers that are very close to zero), and 1 is used for a sign (so that it can represent negative numbers).