Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!MCIRPS2.MED.NYU.EDU!root From: root@MCIRPS2.MED.NYU.EDU Newsgroups: comp.sys.sgi Subject: Structure Alignment Violation Wanted... Message-ID: <9008051145.AA14458@mcirps2.med.nyu.edu> Date: 5 Aug 90 09:35:44 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron%CMCL2.NYU.EDU@cunyvm.cuny.edu Organization: The Internet Lines: 22 X-Unparsable-Date: Sun, 5 Aug 90 04:45:56 DSD I am reading binary data from a DEC machine, and I want to interpert floats (=dec reals) and ints after I swab bytes. The dec machine does not align ints and floats on mips word boundries. I am finding that the structure I template has unwanted holes and wrong offsets. Is there an 'Unaligned' int and float available ? Also, what is the bit pattern for mips float ? I assume that float are NOT promoted to doubles in 3.3(Right ?) dan. +-----------------------------------------------------------------------------+ | karron@nyu.edu Dan Karron | | . . . . . . . . . . . . . . New York University Medical Center | | 560 First Avenue \ \ Pager <1> (212) 397 9330 | | New York, New York 10016 \**\ <2> 10896 <3> | | (212) 340 5210 \**\__________________________________________ | +-----------------------------------------------------------------------------+