/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>

int main()
{
   float x = 32000.2;
   printf("%f\n",x);
   int ival = *((int *)&x);
   printf("%8X\n",ival);
   int ival2 = ival+1;
   float x2 = *((float *)&ival2);
   printf("%f\n",x2);
   return 0;
}
