C/C++: Obtenir une valeur en virgule flottante à partir de la mantisse et l’exposant

Author:


{filelink=13998}

#include

#include 

int main(void)
{
  int x=1;
  int y=2;
  printf("%f", ldexp(x,y));

  return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *