diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-01-24 18:44:09 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-01-24 18:44:09 +0000 |
commit | 382f6d31d26c9c319fbedc9d626b6f655acd7177 (patch) | |
tree | 530b100b76a723e05720791bf1b65ab056005a47 /converter/other/fitstopnm.c | |
parent | 914aa66f02258b05ded20281a4fd26ce8d9fe7c2 (diff) | |
download | netpbm-mirror-382f6d31d26c9c319fbedc9d626b6f655acd7177.tar.gz netpbm-mirror-382f6d31d26c9c319fbedc9d626b6f655acd7177.tar.xz netpbm-mirror-382f6d31d26c9c319fbedc9d626b6f655acd7177.zip |
improve comment
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@826 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/fitstopnm.c')
-rw-r--r-- | converter/other/fitstopnm.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/converter/other/fitstopnm.c b/converter/other/fitstopnm.c index b41e0960..4a6b7115 100644 --- a/converter/other/fitstopnm.c +++ b/converter/other/fitstopnm.c @@ -171,14 +171,13 @@ swapbytes(void * const p, } -/* - ** This code will deal properly with integers, no matter what the byte order - ** or integer size of the host machine. Sign extension is handled manually - ** to prevent problems with signed/unsigned characters. Floating point - ** values will only be read properly when the host architecture is IEEE-754 - ** conformant. If you need to tweak this code for other machines, you might - ** want to snag a copy of the FITS documentation from nssdca.gsfc.nasa.gov - */ +/* This code will deal properly with integers, no matter what the byte order + or integer size of the host machine. We handle sign extension manually to + prevent problems with signed/unsigned characters. We read floating point + values properly only when the host architecture conforms to IEEE-754. If + you need to tweak this code for other machines, you might want to get a + copy of the FITS documentation from nssdca.gsfc.nasa.gov +*/ static void readVal(FILE * const ifP, |