Language Change Specification for Long Integers Proposal

LCS Number: LCS-2016-026c
Version: 2
Date: 03-Mar-2017
Status: Approved
Author: Rob Gaddi
More: History
Summary: Allow for use of 64 bit integers.

Details_of_Language_Change

LRM 5.2.3.1 Integer Types -- General

Changes are shown in red font.

(026.1) Page 39 second paragraph

However, an implementation shall allow the declaration of any integer type whose range is wholly contained within the bounds -2147483647 and +2147483647-(2**63) and (2**63)-1 inclusive.

LRM 5.2.3.2 Predefined Integer Types

(026.2) Page 39 middle of page

The only predefined integer type is the type INTEGER. The range of INTEGER is implementation dependent, but it is guaranteed to include the range -2147483647 and +2147483647 -(2**63) and (2**63)-1. It is defined with an ascending range. The declaration of type INTEGER appears in package STANDARD in Clause 16.

LRM 5.2.4.1 Physical Types -- General

(026.3) Page 40 below middle of page

However, an implementation shall allow the declaration of any physical type whose range is wholly contained within the bounds -2147483647 and +2147483647-(2**63) and (2**63)-1 inclusive.

LRM 5.2.4.2 Predefined Physical Types

(026.4) Page 41 below middle of page

The range of TIME is implementation dependent, but it is guaranteed to include the range -2147483647 and +2147483647 -(2**63) and (2**63)-1.

LRM 5.2.5.2 Predefined floating-point types

(026.5)

The only predefined floating-point type is the type REAL. The range of REAL is host-dependent, but it is guaranteed to be the largest allowed by the chosen representation. It is defined with an ascending range. The declaration of type REAL appears in package STANDARD in Clause 16.

LRM Annex D - (Potentially nonportable constructs)

(026.6) Bottom of page 501

* Declarations of integer types or physical types that have a secondary unit whose position number is outside of the range –(2**31–1) to 2**31–1 –(2**63) to 2**63–1

Comments

Topic revision: r16 - 2017-07-24 - 04:15:16 - RobGaddi
 
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback