From 382f6d31d26c9c319fbedc9d626b6f655acd7177 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 24 Jan 2009 18:44:09 +0000 Subject: improve comment git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@826 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/fitstopnm.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'converter') 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, -- cgit 1.4.1