in reply to packing a floating point
$ perl -e'print pack "d>", -324978.08' | od -t x1 0000000 c1 13 d5 c8 51 eb 85 1f 0000010
Without the ">", the output will be platform-dependent.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: packing a floating point
by DrHyde (Prior) on Oct 21, 2010 at 10:02 UTC | |
by BrowserUk (Patriarch) on Oct 21, 2010 at 13:17 UTC | |
|
Re^2: packing a floating point
by Spooky (Beadle) on Oct 21, 2010 at 16:00 UTC | |
by ikegami (Patriarch) on Oct 21, 2010 at 18:37 UTC |