From: combee AT cambridge DOT scr DOT slb DOT com (Leendert Combee) Subject: thanks on Re: help with reading floats from file To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Sun, 31 Jul 1994 21:49:06 +0100 (BST) Thanks to anyone who pointed out that byte swapping between Sun and PC was probably sufficient to pass floating point numbers, as this was indeed the case. Obviously, I realize that it may not work when I move to other platforms, but for the time being : o I don't have to invent/adopt an unversal 4byte/value exchange format (like the one byte/character that map one-to-one across any platform; I wonder to whom we owe that benefit....), o it works and as I need to read in >300000 floats at the same time, using fread is much, much faster than fscanf's (of course). Leendert