Update README.md
[deliverable/titan.core.git] / help / info / infinity.html
1 <!--
2 Copyright (c) 2000-2014 Ericsson Telecom AB
3
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <html>
10 <head>
11 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
12 <meta http-equiv="Content-Language" content="en-us">
13 <title>infinity</title>
14 </head>
15 <body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258">
16 <table align="left" border="0" cellspacing="0" cellpadding="0" valign=top>
17 <tr>
18 <td width=105 height=40><a href="https://projects.eclipse.org/projects/tools.titan"><img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan"></a></td>
19 </tr>
20 </table>
21 <table border="0" align="right" cellpadding="0" cellspacing="0">
22 <tr>
23 <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td>
24 <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td>
25 <td><a alt="previous" href="inconc.html"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td>
26 <td><a href="inout.html" alt="next"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td>
27 </tr>
28 </table>
29 <p><br clear="all">
30 </p>
31 <hr>
32 <h1>infinity</h1>
33 <hr align="left" width="75%">
34 <p>The keyword is used for sub-typing to indicate that:</p>
35 <ul>
36 <li>the range of an integer value is not limited,</li>
37 <li>the range of an floating point value is not limited,</li>
38 <li>the length of a string is not limited</li>
39 <li>the numer of elements in <font face="Courier New"><b>set of</b></font> and <font face="Courier New"><b>record of</b></font> is not limited.</li>
40 </ul>
41 <p>In case of integer and floating point numbers both positive and negative infinity may be used, for strings and <font face="Courier New"><b><a href="of.html">set/record of</a></b></font> only
42 postivie infinity is meaningful.</p>
43 <p>Related keywords:</p>
44 <ul>
45 <li><a href="bitstring.html"><b><font face="Courier New" color="#003258" size="4">bitstring</font></b></a></li>
46 <li><a href="charstring.html"><b><font face="Courier New" color="#003258" size="4">charstring</font></b></a></li>
47 <li><a href="float.html"><b><font face="Courier New" color="#003258" size="4">float</font></b></a></li>
48 <li><a href="hexstring.html"><b><font face="Courier New" color="#003258" size="4">hexstring</font></b></a></li>
49 <li><a href="integer.html"><b><font face="Courier New" color="#003258" size="4">integer</font></b></a></li>
50 <li><a href="octetstring.html"><b><font face="Courier New" color="#003258" size="4">octetstring</font></b></a></li>
51 <li><a href="of.html"><b><font face="Courier New" color="#003258" size="4">of</font></b></a></li>
52 <li><a href="type.html"><b><font face="Courier New" color="#003258" size="4">type</font></b></a></li>
53 <li><a href="universal.html"><b><font face="Courier New" color="#003258" size="4">universal</font></b></a></li>
54 </ul>
55 <hr align="left" width="50%">
56 <div align="center">
57 <center>
58 <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4">
59 <tr>
60 <td width="100%">
61 <h3 align="center"><b><font color="#003258">[</font><font face="Courier New" color="#003258" size="5">-</font><font color="#003258">]</font><font face="Courier New" color="#003258"
62 size="5">infinity</font> </b></h3>
63 </td>
64 </tr>
65 </table>
66 </center>
67 </div>
68 <hr align="left" width="50%">
69 <p><a name="double_quotation">Example 1</a>:
70 <p><font face="Courier New">type integer Cele (-infinity .. 18);<br>
71 </font>
72 <p>The values of type Cele are integers less than or equal to eighteen. There is no limit for negative values.</p>
73 <hr align="left" width="50%">
74 <p><a name="quotation_inside">Example 2</a>:
75 <p><font face="Courier New">type float Mergitur (1.0E03 .. infinity);<br>
76 </font>
77 <p>Type Mergitur contains only those real values, which are greater than or equal to one thousand. Values except for this range are disallowed.</p>
78 <hr align="left" width="50%">
79 <p><a name="quotation_inside">Example 3</a>:
80 <p><font face="Courier New">type universal charstring Longue length (11 .. infinity);<br>
81 var Longue v_longue; </font>
82 <p>The variable v_longue can have at least 11 characters (quadruples). An upper limit is not given.</p>
83 <hr align="left" width="50%">
84 <p><a name="relation">Example 4</a>:
85 <p><code> type record length (42 788 830 .. infinity) of integer Egeeszek; </code>
86 <p>A valid value of type Egeeszek must contain at least forty-two million seven hundred eighty-eight thousand eight hundred thirty elements. An upper limit is not given.</p>
87 <hr align="left" width="25%">
88 <hr align="left" width="25%">
89 <p align="left"><a HREF="BNF.html#infinitykeyword">BNF definition</a> of <font face="Courier New">infinity</font></p>
90 </body>
91 </html>
This page took 0.035202 seconds and 5 git commands to generate.