Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Why do most C compilers poxily round towards zero ?
Message-ID: <1990Oct11.161737.10969@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <1990Oct9.230928.27552@arp.anu.oz.au> <SHIRONO.90Oct10114447@gcx1.ssd.csd.harris.com>
Date: Thu, 11 Oct 90 16:17:37 GMT

In article <SHIRONO.90Oct10114447@gcx1.ssd.csd.harris.com> shirono@ssd.csd.harris.com writes:
>It is important to understand that, in type demotion, C doesn't round
>either way; it simply eliminates that which it cannot use.

This is a form of rounding (although not a very useful one).  There are
half a dozen different rounding algorithms; "rounding" is not a precise
term referring to one and only one.
-- 
Imagine life with OS/360 the standard  | Henry Spencer at U of Toronto Zoology
operating system.  Now think about X.  |  henry@zoo.toronto.edu   utzoo!henry
