From -3029578831108137694
X-Google-Thread: f78e5,c063db358aabf0d8
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!news.glorb.com!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: gennaro@this.is.invalid (Gennaro Prota)
Newsgroups: comp.std.c++
Subject: Re: Integer division specification
Date: Tue, 20 Feb 2007 17:42:39 GMT
Organization: Aioe.org NNTP Server
Lines: 30
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <e16jt2db2qgajj6vdp2ss1g3dcpt7jkj68@4ax.com>
References: <n5u5t219ouhheqn399kchuhhrd3jm7er69@4ax.com> <k9odt25148b6olt421jip03kqqbcq4meo1@4ax.com> <45d8adcb$0$7365$19deed1b@news.inter.NL.net>
NNTP-Posting-Host: news.news.demon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.demon.co.uk 1171993364 20751 158.152.254.254 (20 Feb 2007 17:42:44 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Tue, 20 Feb 2007 17:42:44 +0000 (UTC)
X-Original-To: std-c++@mailman.ucar.edu
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
X-Replace-Address: yes
X-Path: comp-std-cpp-robomod!not-for-mail
X-Received: (from fjh@localhost)
	by mulga.csse.unimelb.edu.au (8.13.8+Sun/8.13.8/Submit) id l1KHgdAa014299;
	Wed, 21 Feb 2007 04:42:39 +1100 (EST)
X-Delivered-To: std-c++@mailman.ucar.edu
X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f
X-Newsreader: Forte Agent 4.2/32.1118 trialware
X-Newsgroups: comp.std.c++
Xref: g2news2.google.com comp.std.c++:5640

On Sun, 18 Feb 2007 21:35:35 CST, Maarten Kronenburg wrote:

>> Well, let me please do another attempt at getting a reply. I have a
>> defect report concerning the specification of operator / and the
>> proposed resolution would depend on whether truncation "towards -inf"
>> is allowed or not.
>>
>> It would help everyone, not least the committee which would have to
>> examine the DR, to know the answer to this (if it is already known
>> :-)).
>>
>Genny,
>Of course also I don't know the answer of this, because somewhere in the
>world there may be hardware with a compiler where truncation is not towards
>zero. All I know is that at least on x86 the truncation is toward zero.

Thanks Maarten, I was wondering if they will synchronize with C99,
which now imposes truncation towards zero. Since there was no reply
from committee members I think I'll submit the DR with resolutions for
both cases (though, at this point, synch with C99 looks a bit
unlikely).

Genny.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



