projects
/
pspp
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4257ca17cd063bb2f1904b2fefccc5c11c6c86fb
[pspp]
/
dump-float.c
1
#include <stdint.h>
2
#include <stdio.h>
3
4
int
5
main (void)
6
{
7
union
8
{
9
uint8_t b[8];
10
double d;
11
}
12
x = { .b = { 0xfa, 0x3c, 0x00, 0x00, 0x3b, 0x5a, 0x01, 0x00 } };
13
printf ("%f\n", x.d);
14
return 0;
15
}