projects
/
pspp
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new research
[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 = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x4c, 0xdd, 0x40 } };
13
printf ("%f\n", x.d);
14
return 0;
15
}