git.samba.org
/
tridge
/
junkcode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
support little-endian bitmaps
[tridge/junkcode.git]
/
decimal.c
1
#include <math.h>
2
3
/*
4
a0c7 7694 ab42 7b80 a4f9 0381 382f 7680
5
ab42 7b80 58e6 1199 0000 0002
6
7
d0c7 7694 64cc 7d80 64cc 7d80 5308 6c80
8
7ea5 7380 9070 5096 0000 0002
9
*/
10
decimal32 d;
11
12
main()
13
{
14
d = 19123376;
15
printf("0x%x\n", *(unsigned *)&d);
16
return 0;
17
}