From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Wed Dec 20 21:01:24 2017
Return-Path: <owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id 7247E3587DA; Wed, 20 Dec 2017 21:01:24 +0100 (CET)
Delivered-To: sc22wg5@open-std.org
X-Greylist: delayed 1073 seconds by postgrey-1.34 at www5.open-std.org; Wed, 20 Dec 2017 21:01:23 CET
Received: from ppsw-32.csi.cam.ac.uk (ppsw-32.csi.cam.ac.uk [131.111.8.132])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by www.open-std.org (Postfix) with ESMTP id B5CE6356DBB
	for <sc22wg5@open-std.org>; Wed, 20 Dec 2017 21:01:23 +0100 (CET)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:44636)
	by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25)
	with esmtpa (EXTERNAL:nmm1) id 1eRkH2-000trL-1n (Exim 4.89)
	(return-path <nmm1@hermes.cam.ac.uk>); Wed, 20 Dec 2017 19:43:28 +0000
Received: from prayer by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk)
	with local (PRAYER:nmm1) id 1eRkH2-0000Fr-H2 (Exim 4.89)
	(return-path <nmm1@hermes.cam.ac.uk>); Wed, 20 Dec 2017 19:43:28 +0000
Received: from [51.6.55.190] by old-webmail.hermes.cam.ac.uk
	with HTTP (Prayer-1.3.5); 20 Dec 2017 19:43:28 +0000
Date: 20 Dec 2017 19:43:28 +0000
From: "N.M. Maclaren" <nmm1@cam.ac.uk>
To: John Reid <John.Reid@stfc.ac.uk>
Cc: WG5 <sc22wg5@open-std.org>
Subject: Re: [ukfortran] (SC22WG5.6009) IEEE_INT
Message-ID: <Prayer.1.3.5.1712201943280.31997@hermes-2.csi.cam.ac.uk>
In-Reply-To: <20171220184752.684C5358283@www.open-std.org>
References: <20171220184752.684C5358283@www.open-std.org>
X-Mailer: Prayer v1.3.5
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

On Dec 20 2017, John Reid wrote:
>
>I suppose IEEE_UP and IEEE_DOWN give ConvertToIntegerTiesTowardPositive 
>and ConvertToIntegerTiesTowardNegative, that is, towards positive and 
>negative infinity, respectively. I think this needs to be said.

It would do no harm, and would help people who are not familiar with the
minutiae of IEEE 754.

>Does IEEE_OTHER give ConvertToIntegerTiesToEven?

Er, why?  That doesn't make sense.  The meaning of IEEE_OTHER is that
something other than the defined directions is in effect, so it should
be processor dependent.

>What about IEEE_NEAREST?

Now, THAT should be ConvertToIntegerTiesToEven.


Regards,
Nick.

