Added script front-end for primer-design code
[htsworkflow.git] / htswanalysis / MACS / lib / gsl / gsl-1.11 / doc / examples / ieee.c
1 #include <stdio.h>
2 #include <gsl/gsl_ieee_utils.h>
3
4 int
5 main (void) 
6 {
7   float f = 1.0/3.0;
8   double d = 1.0/3.0;
9
10   double fd = f; /* promote from float to double */
11   
12   printf (" f="); gsl_ieee_printf_float(&f); 
13   printf ("\n");
14
15   printf ("fd="); gsl_ieee_printf_double(&fd); 
16   printf ("\n");
17
18   printf (" d="); gsl_ieee_printf_double(&d); 
19   printf ("\n");
20
21   return 0;
22 }