Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site entropy.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!uw-june!entropy!peter From: peter@entropy.UUCP (Peter Guttorp) Newsgroups: net.math.stat Subject: Integer data in S Message-ID: <47@entropy.UUCP> Date: Wed, 18-Jul-84 01:48:13 EDT Article-I.D.: entropy.47 Posted: Wed Jul 18 01:48:13 1984 Date-Received: Fri, 13-Jul-84 03:33:10 EDT Organization: UW MathStat, Seattle Lines: 15 One needs to be careful when reading in data without decimal points to S. For example, 1833008*2154246/2172348 evaluates to 771.15 whereas 1833008/2172348*2154246 evaluates (as was intended) to 1817734 Apparently multiplication of integers is done mod 2^32, whereas on division integers are changed to reals (of course, there is a separate integer divide if one wants to actually do that). I find this feature a bit disturbing, as I often work with data that are recorded in integer format, but really will be treated as real.