#include <stdio.h> #include <math.h> int main () { double p, result; int n; p = 0.95; n = 4; result = ldexp (p, n); printf ("%f * 2^%d = %f\n", p, n, result); return 0; }