in reply to Use pack to create a float in non-native format
A guess based upon my reading of Table 2.5 and the preceding paragraph. I've no way to check it.
$SPARCfloat = pack 'a4a4', reverse unpack 'a4a4', pack 'f', 1222222345 +.678e9;;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use pack to create a float in non-native format
by mjscott2702 (Pilgrim) on Feb 07, 2010 at 09:58 UTC | |
by BrowserUk (Patriarch) on Feb 07, 2010 at 12:26 UTC |