Path: utzoo!mnetor!uunet!oddjob!gargoyle!ihnp4!alberta!calgary!radford From: radford@calgary.UUCP (Radford Neal) Newsgroups: comp.windows.news Subject: Re: NeWS on a SUN, bug in translate? Message-ID: <1369@vaxb.calgary.UUCP> Date: 20 Feb 88 22:45:41 GMT References: <539@modular.UUCP> <2090@natmlab.dms.oz> Distribution: comp Organization: U. of Calgary, Calgary, Ab. Lines: 21 Keywords: NeWS In article <2090@natmlab.dms.oz>, ronb@natmlab.dms.oz (Ron Baxter) writes: > I have struck this one -- it goes wrong when the numbers > go over 32000 (presumably 2^15). A translation happens, > but th wrong one so if often disappears off the screen. > > Capter 13, under implementation limits quotes this limit > but says that then the vaues are automatically converted > to real. Apparently this is not happening in this case. Fixed point numbers are automatically converted to reals as required in the SUN-only version of NeWS, but not in the "portable" version. This is because whoever re-wrote the fixed-point arithmetic routines in C rather than 68000 assembler decided that overflow checking wasn't really necesary. The fix is not hard if you've got the source - I'll mail it to you if you're interested. Of course, if you're using the SUN-only version, I've mis-diagnosed your problem. Radford Neal