2.4 Numeric Literals

From OC Systems Wiki!
Jump to: navigation, search

There are two kinds of numeric_literals, real literals and integer literals. A real literal is a numeric_literal that includes a point; an integer literal is a numeric_literal without a point.


numeric_literal ::= 
decimal_literal | based_literal


3  The type of an integer literal is universal_integer. The type of a real literal is universal_real.

Copyright © 1992,1993,1994,1995 Intermetrics, Inc.
Copyright © 2000 The MITRE Corporation, Inc. Ada Reference Manual