0 votes
in General Knowledge by (744k points)
What is the bias for single precision? Double precision?

How is the bias chosen?

1 Answer

0 votes
by (744k points)
Best answer

It's chosen by how many bits are available for the exponent. The formula is 2^(n-1). Single precision has 8 bits available for exponent (hence 127) and double has 11 (hence 1023).
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.