How to convert -1x10^200 to IEEE 754 double precision
up vote
-1
down vote
favorite
So like above, I want to find the IEEE 754 representation of -1x10^200. I know we can get the sign be to be 1, as we have a negative number. However I am unsure of how to find the mantissa/exponent. My initial idea was to convert 10^200 to 2^x. However x is not a whole number. So I figure we need to get a fraction somehow by separating the 10^200 somehow. Theoretically one could use very long devision, but I am looking for a more elegant answer that can be done without a high precision calculator.
c++ floating-point binary double ieee-754
share | improve this question
asked Nov 11 at 1:12
Philip Bal
...