File: AA-K.html

package info (click to toggle)
ada-reference-manual 20021112web-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 18,652 kB
  • ctags: 8,921
  • sloc: makefile: 52; sh: 20
file content (1202 lines) | stat: -rw-r--r-- 81,690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
    <TITLE>AARM95 - Language-Defined Attributes</TITLE>
    <META NAME="Author" CONTENT="JTC1/SC22/WG9/ARG, by Randall Brukardt, ARG Editor">
    <META NAME="GENERATOR" CONTENT="Arm_Form.Exe, Ada Reference Manual generator">
    <STYLE type="text/css">
    DIV.paranum {position: absolute; font-family: Arial, Helvetica, sans-serif; left: 0.5 em; top: auto}
    TT {font-family: "Courier New", monospace}
    DT {display: compact}
    DIV.Normal {font-family: "Times New Roman", Times, serif; margin-bottom: 0.6em}
    DIV.Wide {font-family: "Times New Roman", Times, serif; margin-top: 0.6em; margin-bottom: 0.6em}
    DIV.Annotations {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-bottom: 0.6em}
    DIV.WideAnnotations {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0.6em; margin-bottom: 0.6em}
    DIV.Index {font-family: "Times New Roman", Times, serif}
    DIV.SyntaxSummary {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.4em}
    DIV.Notes {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.6em}
    DIV.NotesHeader {font-family: "Times New Roman", Times, serif; margin-left: 2.0em}
    DIV.SyntaxIndented {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.4em}
    DIV.Indented {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-bottom: 0.6em}
    DIV.CodeIndented {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-bottom: 0.6em}
    DIV.SmallIndented {font-family: "Times New Roman", Times, serif; margin-left:  10.0em; margin-bottom: 0.6em}
    DIV.SmallCodeIndented {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-bottom: 0.6em}
    DIV.Examples {font-family: "Courier New", monospace; margin-left: 2.0em; margin-bottom: 0.6em}
    DIV.SmallExamples {font-family: "Courier New", monospace; font-size: 80%; margin-left: 7.5em; margin-bottom: 0.6em}
    DIV.IndentedExamples {font-family: "Courier New", monospace; margin-left: 8.0em; margin-bottom: 0.6em}
    DIV.SmallIndentedExamples {font-family: "Courier New", monospace; font-size: 80%; margin-left:  15.0em; margin-bottom: 0.6em}
    UL.Bulleted {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.SmallBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.NestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.SmallNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.IndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.CodeIndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.CodeIndentedNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.SyntaxIndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.NotesBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
    UL.NotesNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
    DL.Hanging {font-family: "Times New Roman", Times, serif; margin-top: 0em; margin-bottom: 0.6em}
    DD.Hanging {margin-left: 6.0em}
    DL.IndentedHanging {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0em; margin-bottom: 0.6em}
    DD.IndentedHanging {margin-left: 2.0em}
    DL.HangingInBulleted {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
    DD.HangingInBulleted {margin-left: 4.0em}
    DL.SmallHanging {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0em; margin-bottom: 0.6em}
    DD.SmallHanging {margin-left: 7.5em}
    DL.SmallIndentedHanging {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-top: 0em; margin-bottom: 0.6em}
    DD.SmallIndentedHanging {margin-left: 2.0em}
    DL.SmallHangingInBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
    DD.SmallHangingInBulleted {margin-left: 5.0em}
    DL.Enumerated {font-family: "Times New Roman", Times, serif; margin-right: 0.0em; margin-top: 0em; margin-bottom: 0.5em}
    DD.Enumerated {margin-left: 2.0em}
    DL.SmallEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
    DD.SmallEnumerated {margin-left: 2.5em}
    DL.NestedEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
    DL.SmallNestedEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
    </STYLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFF0" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<P><A HREF="AA-TOC.html">Contents</A>&nbsp;&nbsp;&nbsp;<A HREF="AA-0-29.html">Index</A>&nbsp;&nbsp;&nbsp;<A HREF="AA-J-9.html">Previous</A>&nbsp;&nbsp;&nbsp;<A HREF="AA-L.html">Next</A></P>
<HR>
<H1>Annex K</H1>
<H2>(informative)</H2>
<H1>Language-Defined Attributes</H1>
<DIV Class="Paranum"><FONT SIZE=-2>1</FONT></DIV>
<DIV Class="Normal">&nbsp;&nbsp;&nbsp;<A NAME="I7352"></A>This annex summarizes the
definitions given elsewhere of the language-defined attributes.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>2</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;P'Access<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> P that denotes a subprogram:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>3</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">P'Access yields an access value that designates
the subprogram denoted by P. The type of P'Access is an access-to-subprogram
type (<I>S</I>), as determined by the expected type. See 3.10.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>4</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;X'Access<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> X that denotes an aliased
view of an object:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>5</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">X'Access yields an access value that designates
the object denoted by X. The type of X'Access is an access-to-object
type, as determined by the expected type. The expected type shall be
a general access type. See 3.10.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>6/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X'Address<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
X that denotes an object, program unit, or label:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>7</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the address of the first of the storage
elements allocated to X. For a program unit or label, this value refers
to the machine code associated with the corresponding body or <FONT FACE="Arial, Helvetica">statement</FONT>.
The value of this attribute is of type System.Address. See 13.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>8</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;S'Adjacent<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>9</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Adjacent denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>10</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Adjacent&nbsp;(<I>X</I>,&nbsp;<I>Towards</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>11</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7353"></A>If <I>Towards</I>   =   <I>X</I>,
the function yields <I>X</I>; otherwise, it yields the machine number
of the type <I>T</I> adjacent to <I>X</I> in the direction of <I>Towards</I>,
if that machine number exists. <A NAME="I7354"></A><A NAME="I7355"></A>If
the result would be outside the base range of S, Constraint_Error is
raised. When <I>T</I>'Signed_Zeros is True, a zero result has the sign
of <I>X</I>. When <I>Towards</I> is zero, its sign has no bearing on
the result. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>12</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Aft<DD Class="Hanging">
For every fixed point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>13</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Aft yields the number of decimal digits needed
after the decimal point to accommodate the <I>delta</I> of the subtype
S, unless the <I>delta</I> of the subtype S is greater than 0.1, in which
case the attribute yields the value one. (S'Aft is the smallest positive
integer N for which (10**N)*S'Delta is greater than or equal to one.)
The value of this attribute is of the type <I>universal_integer</I>.
See 3.5.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>14/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X'Alignment<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
X that denotes a subtype or object:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>15</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The Address of an object that is allocated under
control of the implementation is an integral multiple of the Alignment
of the object (that is, the Address modulo the Alignment is zero). The
offset of a record component is a multiple of the Alignment of the component.
For an object that is not allocated under control of the implementation
(that is, one that is imported, that is allocated by a user-defined allocator,
whose Address has been specified, or is designated by an access value
returned by an instance of Unchecked_Conversion), the implementation
may assume that the Address is an integral multiple of its Alignment.
The implementation shall not assume a stricter alignment.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>16</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The value of this attribute is of type <I>universal_integer</I>,
and nonnegative; zero means that the object is not necessarily aligned
on a storage element boundary. See 13.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>17</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Base<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>18</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Base denotes an unconstrained subtype of the type
of S. This unconstrained subtype is called the <I>base subtype</I> of
the type. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>19</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Bit_Order<DD Class="Hanging">
For every specific record subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>20</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the bit ordering for the type of S. The
value of this attribute is of type System.Bit_Order. See 13.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>21/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;P'Body_Version<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
P that statically denotes a program unit:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>22</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields a value of the predefined type String that
identifies the version of the compilation unit that contains the body
(but not any subunits) of the program unit. See E.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>23</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;T'Callable<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> T that is of a task
type (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>24</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True when the task denoted by T
is <I>callable</I>, and False otherwise; See 9.9.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>25</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;E'Caller<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> E that denotes an <FONT FACE="Arial, Helvetica">entry_declaration</FONT>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>26</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields a value of the type Task_ID that identifies
the task whose call is now being serviced. Use of this attribute is allowed
only inside an <FONT FACE="Arial, Helvetica">entry_body</FONT> or <FONT FACE="Arial, Helvetica">accept_statement</FONT>
corresponding to the <FONT FACE="Arial, Helvetica">entry_declaration</FONT>
denoted by E. See C.7.1.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>27</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Ceiling<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>28</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Ceiling denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>29</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Ceiling&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>30</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function yields the value <I>Ceiling</I>(<I>X</I>),
i.e., the smallest (most negative) integral value greater than or equal
to <I>X</I>. When <I>X</I> is zero, the result has the sign of <I>X</I>;
a zero result otherwise has a negative sign when S'Signed_Zeros is True.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>31</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Class<DD Class="Hanging">
For every subtype S of an untagged private type whose full view is tagged:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>32</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the class-wide subtype corresponding to
the full view of S. This attribute is allowed only from the beginning
of the private part in which the full view is declared, until the declaration
of the full view. After the full view, the Class attribute of the full
view can be used. See 7.3.1.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>33</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Class<DD Class="Hanging">
For every subtype S of a tagged type <I>T</I> (specific or class-wide):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>34</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Class denotes a subtype of the class-wide type
(called <I>T</I>'Class in this International Standard) for the class
rooted at <I>T</I> (or if S already denotes a class-wide subtype, then
S'Class is the same as S).</DL>
<DIV Class="Paranum"><FONT SIZE=-2>35</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7356"></A><A NAME="I7357"></A>S'Class
is unconstrained. However, if S is constrained, then the values of S'Class
are only those that when converted to the type <I>T</I> belong to S.
See 3.9.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>36/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X'Component_Size<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
X that denotes an array subtype or array object (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>37</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the size in bits of components of the type
of X. The value of this attribute is of type <I>universal_integer</I>.
See 13.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>38</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Compose<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>39</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Compose denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>40</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Compose&nbsp;(<I>Fraction</I>&nbsp;:&nbsp;<I>T</I>;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Exponent</I>&nbsp;:&nbsp;<I>universal_integer</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>41</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7358"></A>Let <I>v</I> be the value <I>Fraction</I>
&middot; <I>T</I>'Machine_Radix<SUP><FONT SIZE=+1><FONT SIZE=-2><I>Exponent</I>-<I>k</I></FONT></FONT></SUP>,
where <I>k</I> is the normalized exponent of <I>Fraction</I>. If <I>v</I>
is a machine number of the type <I>T</I>, or if |<I>v</I>| >= <I>T</I>'Model_Small,
the function yields <I>v</I>; otherwise, it yields either one of the
machine numbers of the type <I>T</I> adjacent to <I>v</I>. <A NAME="I7359"></A><A NAME="I7360"></A>Constraint_Error
is optionally raised if <I>v</I> is outside the base range of S. A zero
result has the sign of <I>Fraction</I> when S'Signed_Zeros is True. See
A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>42</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;A'Constrained<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> A that is of a discriminated
type (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>43</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if A denotes a constant, a
value, or a constrained variable, and False otherwise. See 3.7.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>44</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Copy_Sign<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>45</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Copy_Sign denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>46</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Copy_Sign&nbsp;(<I>Value</I>,&nbsp;<I>Sign</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>47</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7361"></A>If the value of <I>Value</I>
is nonzero, the function yields a result whose magnitude is that of <I>Value</I>
and whose sign is that of <I>Sign</I>; otherwise, it yields the value
zero. <A NAME="I7362"></A><A NAME="I7363"></A>Constraint_Error is optionally
raised if the result is outside the base range of S. A zero result has
the sign of <I>Sign</I> when S'Signed_Zeros is True. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>48</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;E'Count<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> E that denotes an entry
of a task or protected unit:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>49</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the number of calls presently queued on the
entry E of the current instance of the unit. The value of this attribute
is of the type <I>universal_integer</I>. See 9.9.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>50/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Definite<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
S that denotes a formal indefinite subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>51</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Definite yields True if the actual subtype corresponding
to S is definite; otherwise it yields False. The value of this attribute
is of the predefined type Boolean. See 12.5.1.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>52</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Delta<DD Class="Hanging">
For every fixed point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>53</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Delta denotes the <I>delta</I> of the fixed point
subtype S. The value of this attribute is of the type <I>universal_real</I>.
See 3.5.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>54</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Denorm<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>55</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if every value expressible
in the form<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&plusmn; <I>mantissa</I> &middot; <I>T</I>'Machine_Radix<SUP><FONT SIZE=+1><FONT SIZE=-2><I>T</I>'Machine_Emin</FONT></FONT></SUP><BR>
where <I>mantissa</I> is a nonzero <I>T</I>'Machine_Mantissa-digit fraction
in the number base <I>T</I>'Machine_Radix, the first digit of which is
zero, is a machine number (see <A HREF="AA-3-5-7.html">3.5.7</A>) of
the type <I>T</I>; yields the value False otherwise. The value of this
attribute is of the predefined type Boolean. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>56</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Digits<DD Class="Hanging">
For every decimal fixed point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>57</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Digits denotes the <I>digits</I> of the decimal
fixed point subtype S, which corresponds to the number of decimal digits
that are representable in objects of the subtype. The value of this attribute
is of the type <I>universal_integer</I>. See 3.5.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>58</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Digits<DD Class="Hanging">
For every floating point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>59</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Digits denotes the requested decimal precision
for the subtype S. The value of this attribute is of the type <I>universal_integer</I>.
See 3.5.8.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>60</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Exponent<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>61</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Exponent denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>62</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Exponent&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>universal_integer</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>63</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function yields the normalized exponent of <I>X</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>64</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'External_Tag<DD Class="Hanging">
For every subtype S of a tagged type <I>T</I> (specific or class-wide):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>65</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7364"></A><A NAME="I7365"></A>S'External_Tag
denotes an external string representation for S'Tag; it is of the predefined
type String. External_Tag may be specified for a specific tagged type
via an <FONT FACE="Arial, Helvetica">attribute_definition_clause</FONT>;
the expression of such a clause shall be static. The default external
tag representation is implementation defined. See <A HREF="AA-3-9-2.html">3.9.2</A>
and <A HREF="AA-13-13-2.html">13.13.2</A>. See 13.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>66/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'First<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>67</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'First denotes the lower bound of the first index
range; its type is the corresponding index type. See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>68</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'First<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>69</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'First denotes the lower bound of the range of
S. The value of this attribute is of the type of S. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>70/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'First(N)<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>71</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'First(N) denotes the lower bound of the N-th index
range; its type is the corresponding index type. See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>72</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;R.C'First_Bit<DD Class="Hanging">
For a component C of a composite, non-array object R:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>73</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the offset, from the start of the first
of the storage elements occupied by C, of the first bit occupied by C.
This offset is measured in bits. The first bit of a storage element is
numbered zero. The value of this attribute is of the type <I>universal_integer</I>.
See 13.5.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>74</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Floor<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>75</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Floor denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>76</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Floor&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>77</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function yields the value <I>Floor</I>(<I>X</I>),
i.e., the largest (most positive) integral value less than or equal to
<I>X</I>. When <I>X</I> is zero, the result has the sign of <I>X</I>;
a zero result otherwise has a positive sign. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>78</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Fore<DD Class="Hanging">
For every fixed point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>79</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Fore yields the minimum number of characters needed
before the decimal point for the decimal representation of any value
of the subtype S, assuming that the representation does not include an
exponent, but includes a one-character prefix that is either a minus
sign or a space. (This minimum number does not include superfluous zeros
or underlines, and is at least 2.) The value of this attribute is of
the type <I>universal_integer</I>. See 3.5.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>80</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Fraction<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>81</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Fraction denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>82</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Fraction&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>83</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function yields the value <I>X</I> &middot;
<I>T</I>'Machine_Radix<SUP><FONT SIZE=+1><FONT SIZE=-2>-<I>k</I></FONT></FONT></SUP>,
where <I>k</I> is the normalized exponent of <I>X</I>. A zero result,
which can only occur when <I>X</I> is zero, has the sign of <I>X</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>84</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;T'Identity<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> T that is of a task
type (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>85</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields a value of the type Task_ID that identifies
the task denoted by T. See C.7.1.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>86/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;E'Identity<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
E that denotes an exception:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>87</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">E'Identity returns the unique identity of the exception.
The type of this attribute is Exception_Id. See 11.4.1.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>88</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Image<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>89</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Image denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>90</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Image(<I>Arg</I>&nbsp;:&nbsp;S'Base)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;String</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>91</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function returns an image of the value of <I>Arg</I>
as a String. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>92</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Class'Input<DD Class="Hanging">
For every subtype S'Class of a class-wide type <I>T</I>'Class:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>93</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Class'Input denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>94</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Class'Input(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class)<BR>
&nbsp;&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I>'Class</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>95</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">First reads the external tag from <I>Stream</I>
and determines the corresponding internal tag (by calling Tags.Internal_Tag(String'Input(<I>Stream</I>))
-- see <A HREF="AA-3-9.html">3.9</A>) and then dispatches to the subprogram
denoted by the Input attribute of the specific type identified by the
internal tag; returns that result. See 13.13.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>96</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;S'Input<DD Class="Hanging">
For every subtype S of a specific type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>97</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Input denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>98</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Input(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class)<BR>
&nbsp;&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>99</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Input reads and returns one value from <I>Stream</I>,
using any bounds or discriminants written by a corresponding S'Output
to determine how much to read. See 13.13.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>100/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'Last<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>101</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'Last denotes the upper bound of the first index
range; its type is the corresponding index type. See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>102</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Last<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>103</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Last denotes the upper bound of the range of S.
The value of this attribute is of the type of S. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>104/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'Last(N)<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>105</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'Last(N) denotes the upper bound of the N-th index
range; its type is the corresponding index type. See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>106</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;R.C'Last_Bit<DD Class="Hanging">
For a component C of a composite, non-array object R:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>107</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the offset, from the start of the first
of the storage elements occupied by C, of the last bit occupied by C.
This offset is measured in bits. The value of this attribute is of the
type <I>universal_integer</I>. See 13.5.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>108</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Leading_Part<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>109</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Leading_Part denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>110</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Leading_Part&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Radix_Digits</I>&nbsp;:&nbsp;<I>universal_integer</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>111</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Let <I>v</I> be the value <I>T</I>'Machine_Radix<SUP><FONT SIZE=+1><FONT SIZE=-2><I>k</I>-<I>Radix_Digits</I></FONT></FONT></SUP>,
where <I>k</I> is the normalized exponent of <I>X</I>. The function yields
the value </DL>
<DIV Class="Paranum"><FONT SIZE=-2>112</FONT></DIV>
<UL Class="IndentedBulleted"><LI TYPE=DISC><I>Floor</I>(<I>X</I>/<I>v</I>) &middot; <I>v</I>, when
<I>X</I> is nonnegative and <I>Radix_Digits</I> is positive;</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>113</FONT></DIV>
<UL Class="IndentedBulleted"><LI TYPE=DISC><I>Ceiling</I>(<I>X</I>/<I>v</I>) &middot; <I>v</I>, when
<I>X</I> is negative and <I>Radix_Digits</I> is positive. </LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>114</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7366"></A><A NAME="I7367"></A><A NAME="I7368"></A>Constraint_Error
is raised when <I>Radix_Digits</I> is zero or negative. A zero result,
which can only occur when <I>X</I> is zero, has the sign of <I>X</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>115/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'Length<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>116</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'Length denotes the number of values of the first
index range (zero for a null range); its type is <I>universal_integer</I>.
See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>117/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'Length(N)<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>118</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'Length(N) denotes the number of values of the
N-th index range (zero for a null range); its type is <I>universal_integer</I>.
See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>119</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>120</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Machine denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>121</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Machine&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>122</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7369"></A>If <I>X</I> is a machine number
of the type <I>T</I>, the function yields <I>X</I>; otherwise, it yields
the value obtained by rounding or truncating <I>X</I> to either one of
the adjacent machine numbers of the type <I>T</I>. <A NAME="I7370"></A><A NAME="I7371"></A>Constraint_Error
is raised if rounding or truncating <I>X</I> to the precision of the
machine numbers results in a value outside the base range of S. A zero
result has the sign of <I>X</I> when S'Signed_Zeros is True. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>123</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Emax<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>124</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the largest (most positive) value of <I>exponent</I>
such that every value expressible in the canonical form (for the type
<I>T</I>), having a <I>mantissa</I> of <I>T</I>'Machine_Mantissa digits,
is a machine number (see <A HREF="AA-3-5-7.html">3.5.7</A>) of the type
<I>T</I>. This attribute yields a value of the type <I>universal_integer</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>125</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Emin<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>126</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the smallest (most negative) value of <I>exponent</I>
such that every value expressible in the canonical form (for the type
<I>T</I>), having a <I>mantissa</I> of <I>T</I>'Machine_Mantissa digits,
is a machine number (see <A HREF="AA-3-5-7.html">3.5.7</A>) of the type
<I>T</I>. This attribute yields a value of the type <I>universal_integer</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>127</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Mantissa<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>128</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the largest value of <I>p</I> such that every
value expressible in the canonical form (for the type <I>T</I>), having
a <I>p</I>-digit <I>mantissa</I> and an <I>exponent</I> between <I>T</I>'Machine_Emin
and <I>T</I>'Machine_Emax, is a machine number (see <A HREF="AA-3-5-7.html">3.5.7</A>)
of the type <I>T</I>. This attribute yields a value of the type <I>universal_integer</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>129</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Overflows<DD Class="Hanging">
For every subtype S of a fixed point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>130</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if overflow and divide-by-zero
are detected and reported by raising Constraint_Error for every predefined
operation that yields a result of the type <I>T</I>; yields the value
False otherwise. The value of this attribute is of the predefined type
Boolean. See A.5.4.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>131</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Overflows<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>132</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if overflow and divide-by-zero
are detected and reported by raising Constraint_Error for every predefined
operation that yields a result of the type <I>T</I>; yields the value
False otherwise. The value of this attribute is of the predefined type
Boolean. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>133</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Radix<DD Class="Hanging">
For every subtype S of a fixed point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>134</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the radix of the hardware representation
of the type <I>T</I>. The value of this attribute is of the type <I>universal_integer</I>.
See A.5.4.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>135</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Radix<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>136</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the radix of the hardware representation
of the type <I>T</I>. The value of this attribute is of the type <I>universal_integer</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>137</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Rounds<DD Class="Hanging">
For every subtype S of a fixed point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>138</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if rounding is performed on
inexact results of every predefined operation that yields a result of
the type <I>T</I>; yields the value False otherwise. The value of this
attribute is of the predefined type Boolean. See A.5.4.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>139</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Machine_Rounds<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>140</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if rounding is performed on
inexact results of every predefined operation that yields a result of
the type <I>T</I>; yields the value False otherwise. The value of this
attribute is of the predefined type Boolean. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>141</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Max<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>142</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Max denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>143</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Max(<I>Left</I>,&nbsp;<I>Right</I>&nbsp;:&nbsp;S'Base)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>144</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function returns the greater of the values of
the two parameters. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>145</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Max_Size_In_Storage_Elements<DD Class="Hanging">
For every subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>146</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the maximum value for Size_In_Storage_Elements
that will be requested via Allocate for an access type whose designated
subtype is S. The value of this attribute is of type <I>universal_integer</I>.
See 13.11.1.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>147</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Min<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>148</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Min denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>149</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Min(<I>Left</I>,&nbsp;<I>Right</I>&nbsp;:&nbsp;S'Base)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>150</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function returns the lesser of the values of
the two parameters. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>151</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Model<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>152</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Model denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>153</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Model&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>154</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">If the Numerics Annex is not supported, the meaning
of this attribute is implementation defined; see <A HREF="AA-G-2-2.html">G.2.2</A>
for the definition that applies to implementations supporting the Numerics
Annex. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>155</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Model_Emin<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>156</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">If the Numerics Annex is not supported, this attribute
yields an implementation defined value that is greater than or equal
to the value of <I>T</I>'Machine_Emin. See <A HREF="AA-G-2-2.html">G.2.2</A>
for further requirements that apply to implementations supporting the
Numerics Annex. The value of this attribute is of the type <I>universal_integer</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>157</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Model_Epsilon<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>158</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value <I>T</I>'Machine_Radix<SUP><FONT SIZE=+1><FONT SIZE=-2>1
- <I>T</I>'Model_Mantissa</FONT></FONT></SUP>. The value of this attribute
is of the type <I>universal_real</I>. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>159</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Model_Mantissa<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>160</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">If the Numerics Annex is not supported, this attribute
yields an implementation defined value that is greater than or equal
to <I>Ceiling</I>(<I>d</I> &middot; log(10) / log(<I>T</I>'Machine_Radix))
+ 1, where <I>d</I> is the requested decimal precision of <I>T</I>, and
less than or equal to the value of <I>T</I>'Machine_Mantissa. See <A HREF="AA-G-2-2.html">G.2.2</A>
for further requirements that apply to implementations supporting the
Numerics Annex. The value of this attribute is of the type <I>universal_integer</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>161</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Model_Small<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>162</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value <I>T</I>'Machine_Radix<SUP><FONT SIZE=+1><FONT SIZE=-2><I>T</I>'Model_Emin
- 1</FONT></FONT></SUP>. The value of this attribute is of the type <I>universal_real</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>163</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Modulus<DD Class="Hanging">
For every modular subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>164</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Modulus yields the modulus of the type of S, as
a value of the type <I>universal_integer</I>. See 3.5.4.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>165</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Class'Output<DD Class="Hanging">
For every subtype S'Class of a class-wide type <I>T</I>'Class:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>166</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Class'Output denotes a procedure with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>167</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>procedure</B>&nbsp;S'Class'Output(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class;<BR>
&nbsp;&nbsp;&nbsp;<I>Item</I>&nbsp;&nbsp;&nbsp;:&nbsp;<B>in</B>&nbsp;<I>T</I>'Class)</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>168</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">First writes the external tag of <I>Item</I> to
<I>Stream</I> (by calling String'Output(Tags.External_Tag(<I>Item</I>'Tag)
-- see <A HREF="AA-3-9.html">3.9</A>) and then dispatches to the subprogram
denoted by the Output attribute of the specific type identified by the
tag. See 13.13.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>169</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Output<DD Class="Hanging">
For every subtype S of a specific type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>170</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Output denotes a procedure with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>171</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>procedure</B>&nbsp;S'Output(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class;<BR>
&nbsp;&nbsp;&nbsp;<I>Item</I>&nbsp;:&nbsp;<B>in</B>&nbsp;<I>T</I>)</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>172</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Output writes the value of <I>Item</I> to <I>Stream</I>,
including any bounds or discriminants. See 13.13.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>173/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D'Partition_ID<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
D that denotes a library-level declaration, excepting a declaration of
or within a declared-pure library unit:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>174</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes a value of the type <I>universal_integer</I>
that identifies the partition in which D was elaborated. If D denotes
the declaration of a remote call interface library unit (see <A HREF="AA-E-2-3.html">E.2.3</A>)
the given partition is the one where the body of D was elaborated. See
E.1.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>175</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Pos<DD Class="Hanging">
For every discrete subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>176</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Pos denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>177</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Pos(<I>Arg</I>&nbsp;:&nbsp;S'Base)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>universal_integer</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>178</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">This function returns the position number of the
value of <I>Arg</I>, as a value of type <I>universal_integer</I>. See
3.5.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>179</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;R.C'Position<DD Class="Hanging">
For a component C of a composite, non-array object R:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>180</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the same value as R.C'Address - R'Address.
The value of this attribute is of the type <I>universal_integer</I>.
See 13.5.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>181</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Pred<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>182</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Pred denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>183</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Pred(<I>Arg</I>&nbsp;:&nbsp;S'Base)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>184</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7372"></A>For an enumeration type, the
function returns the value whose position number is one less than that
of the value of <I>Arg</I>; <A NAME="I7373"></A><A NAME="I7374"></A>Constraint_Error
is raised if there is no such value of the type. For an integer type,
the function returns the result of subtracting one from the value of
<I>Arg</I>. For a fixed point type, the function returns the result of
subtracting <I>small</I> from the value of <I>Arg</I>. For a floating
point type, the function returns the machine number (as defined in <A HREF="AA-3-5-7.html">3.5.7</A>)
immediately below the value of <I>Arg</I>; <A NAME="I7375"></A><A NAME="I7376"></A>Constraint_Error
is raised if there is no such machine number. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>185/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'Range<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>186</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'Range is equivalent to the range A'First .. A'Last,
except that the <FONT FACE="Arial, Helvetica">prefix</FONT> A is only
evaluated once. See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>187</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Range<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>188</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Range is equivalent to the <FONT FACE="Arial, Helvetica">range</FONT>
S'First .. S'Last. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>189/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A'Range(N)<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
A that is of an array type (after any implicit dereference), or denotes
a constrained array subtype:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>190</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">A'Range(N) is equivalent to the range A'First(N)
.. A'Last(N), except that the <FONT FACE="Arial, Helvetica">prefix</FONT>
A is only evaluated once. See 3.6.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>191</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Class'Read<DD Class="Hanging">
For every subtype S'Class of a class-wide type <I>T</I>'Class:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>192</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Class'Read denotes a procedure with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>193</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>procedure</B>&nbsp;S'Class'Read(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class;<BR>
&nbsp;&nbsp;&nbsp;<I>Item</I>&nbsp;:&nbsp;<B>out</B>&nbsp;<I>T</I>'Class)</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>194</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Dispatches to the subprogram denoted by the Read
attribute of the specific type identified by the tag of Item. See 13.13.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>195</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Read<DD Class="Hanging">
For every subtype S of a specific type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>196</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Read denotes a procedure with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>197</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>procedure</B>&nbsp;S'Read(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class;<BR>
&nbsp;&nbsp;&nbsp;<I>Item</I>&nbsp;:&nbsp;<B>out</B>&nbsp;<I>T</I>)</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>198</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Read reads the value of <I>Item</I> from <I>Stream</I>.
See 13.13.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>199</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Remainder<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>200</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Remainder denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>201</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Remainder&nbsp;(<I>X</I>,&nbsp;<I>Y</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>202</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7377"></A>For nonzero <I>Y</I>, let <I>v</I>
be the value <I>X</I> - <I>n</I> &middot; <I>Y</I>, where <I>n</I> is
the integer nearest to the exact value of <I>X</I>/<I>Y</I>; if |<I>n</I>
- <I>X</I>/<I>Y</I>|   =   1/2, then <I>n</I> is chosen to be even. If
<I>v</I> is a machine number of the type <I>T</I>, the function yields
<I>v</I>; otherwise, it yields zero. <A NAME="I7378"></A><A NAME="I7379"></A>Constraint_Error
is raised if <I>Y</I> is zero. A zero result has the sign of <I>X</I>
when S'Signed_Zeros is True. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>203</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Round<DD Class="Hanging">
For every decimal fixed point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>204</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Round denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>205</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Round(<I>X</I>&nbsp;:&nbsp;<I>universal_real</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>206</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function returns the value obtained by rounding
X (away from 0, if X is midway between two values of the type of S).
See 3.5.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>207</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Rounding<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>208</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Rounding denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>209</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Rounding&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>210</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function yields the integral value nearest to
<I>X</I>, rounding away from zero if <I>X</I> lies exactly halfway between
two integers. A zero result has the sign of <I>X</I> when S'Signed_Zeros
is True. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>211</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Safe_First<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>212</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the lower bound of the safe range (see <A HREF="AA-3-5-7.html">3.5.7</A>)
of the type <I>T</I>. If the Numerics Annex is not supported, the value
of this attribute is implementation defined; see <A HREF="AA-G-2-2.html">G.2.2</A>
for the definition that applies to implementations supporting the Numerics
Annex. The value of this attribute is of the type <I>universal_real</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>213</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Safe_Last<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>214</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the upper bound of the safe range (see <A HREF="AA-3-5-7.html">3.5.7</A>)
of the type <I>T</I>. If the Numerics Annex is not supported, the value
of this attribute is implementation defined; see <A HREF="AA-G-2-2.html">G.2.2</A>
for the definition that applies to implementations supporting the Numerics
Annex. The value of this attribute is of the type <I>universal_real</I>.
See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>215</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Scale<DD Class="Hanging">
For every decimal fixed point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>216</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Scale denotes the <I>scale</I> of the subtype
S, defined as the value N such that S'Delta = 10.0**(-N). <A NAME="I7380"></A>The
scale indicates the position of the point relative to the rightmost significant
digits of values of subtype S. The value of this attribute is of the
type <I>universal_integer</I>. See 3.5.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>217</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Scaling<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>218</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Scaling denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>219</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Scaling&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Adjustment</I>&nbsp;:&nbsp;<I>universal_integer</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>220</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7381"></A>Let <I>v</I> be the value <I>X</I>
&middot; <I>T</I>'Machine_Radix<SUP><FONT SIZE=+1><FONT SIZE=-2><I>Adjustment</I></FONT></FONT></SUP>.
If <I>v</I> is a machine number of the type <I>T</I>, or if |<I>v</I>|
>= <I>T</I>'Model_Small, the function yields <I>v</I>; otherwise, it
yields either one of the machine numbers of the type <I>T</I> adjacent
to <I>v</I>. <A NAME="I7382"></A><A NAME="I7383"></A>Constraint_Error
is optionally raised if <I>v</I> is outside the base range of S. A zero
result has the sign of <I>X</I> when S'Signed_Zeros is True. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>221</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Signed_Zeros<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>222</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if the hardware representation
for the type <I>T</I> has the capability of representing both positively
and negatively signed zeros, these being generated and used by the predefined
operations of the type <I>T</I> as specified in IEC 559:1989; yields
the value False otherwise. The value of this attribute is of the predefined
type Boolean. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>223</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Size<DD Class="Hanging">
For every subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>224</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">If S is definite, denotes the size (in bits) that
the implementation would choose for the following objects of subtype
S: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>225</FONT></DIV>
<UL Class="IndentedBulleted"><LI TYPE=DISC>A record component of subtype S when the record type is
packed.</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>226</FONT></DIV>
<UL Class="IndentedBulleted"><LI TYPE=DISC>The formal parameter of an instance of Unchecked_Conversion
that converts from subtype S to some other subtype. </LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>227</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">If S is indefinite, the meaning is implementation
defined. The value of this attribute is of the type <I>universal_integer</I>.
See 13.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>228/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X'Size<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
X that denotes an object:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>229</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the size in bits of the representation of
the object. The value of this attribute is of the type <I>universal_integer</I>.
See 13.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>230</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Small<DD Class="Hanging">
For every fixed point subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>231</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Small denotes the <I>small</I> of the type of
S. The value of this attribute is of the type <I>universal_real</I>.
See 3.5.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>232</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Storage_Pool<DD Class="Hanging">
For every access subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>233</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the storage pool of the type of S. The type
of this attribute is Root_Storage_Pool'Class. See 13.11.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>234</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Storage_Size<DD Class="Hanging">
For every access subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>235</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the result of calling Storage_Size(S'Storage_Pool),
which is intended to be a measure of the number of storage elements reserved
for the pool. The type of this attribute is <I>universal_integer</I>.
See 13.11.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>236/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;T'Storage_Size<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
T that denotes a task object (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>237</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Denotes the number of storage elements reserved
for the task. The value of this attribute is of the type <I>universal_integer</I>.
The Storage_Size includes the size of the task's stack, if any. The language
does not specify whether or not it includes other storage associated
with the task (such as the ``task control block'' used by some implementations.)
See 13.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>238</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Succ<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>239</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Succ denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>240</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Succ(<I>Arg</I>&nbsp;:&nbsp;S'Base)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>241</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7384"></A>For an enumeration type, the
function returns the value whose position number is one more than that
of the value of <I>Arg</I>; <A NAME="I7385"></A><A NAME="I7386"></A>Constraint_Error
is raised if there is no such value of the type. For an integer type,
the function returns the result of adding one to the value of <I>Arg</I>.
For a fixed point type, the function returns the result of adding <I>small</I>
to the value of <I>Arg</I>. For a floating point type, the function returns
the machine number (as defined in <A HREF="AA-3-5-7.html">3.5.7</A>)
immediately above the value of <I>Arg</I>; <A NAME="I7387"></A><A NAME="I7388"></A>Constraint_Error
is raised if there is no such machine number. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>242</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X'Tag<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> X that is of a class-wide
tagged type (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>243</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">X'Tag denotes the tag of X. The value of this attribute
is of type Tag. See 3.9.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>244</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Tag<DD Class="Hanging">
For every subtype S of a tagged type <I>T</I> (specific or class-wide):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>245</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Tag denotes the tag of the type <I>T</I> (or if
<I>T</I> is class-wide, the tag of the root type of the corresponding
class). The value of this attribute is of type Tag. See 3.9.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>246</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;T'Terminated<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> T that is of a task
type (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>247</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields the value True if the task denoted by T is
terminated, and False otherwise. The value of this attribute is of the
predefined type Boolean. See 9.9.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>248</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Truncation<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>249</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Truncation denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>250</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Truncation&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>251</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function yields the value <I>Ceiling</I>(<I>X</I>)
when <I>X</I> is negative, and <I>Floor</I>(<I>X</I>) otherwise. A zero
result has the sign of <I>X</I> when S'Signed_Zeros is True. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>252</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Unbiased_Rounding<DD Class="Hanging">
For every subtype S of a floating point type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>253</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Unbiased_Rounding denotes a function with the
following specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>254</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Unbiased_Rounding&nbsp;(<I>X</I>&nbsp;:&nbsp;<I>T</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;<I>T</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>255</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">The function yields the integral value nearest to
<I>X</I>, rounding toward the even integer if <I>X</I> lies exactly halfway
between two integers. A zero result has the sign of <I>X</I> when S'Signed_Zeros
is True. See A.5.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>256</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X'Unchecked_Access<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> X that denotes an aliased
view of an object:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>257</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">All rules and semantics that apply to X'Access (see
<A HREF="AA-3-10-2.html">3.10.2</A>) apply also to X'Unchecked_Access,
except that, for the purposes of accessibility rules and checks, it is
as if X were declared immediately within a library package. See 13.10.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>258</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Val<DD Class="Hanging">
For every discrete subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>259</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Val denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>260</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Val(<I>Arg</I>&nbsp;:&nbsp;<I>universal_integer</I>)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>261</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7389"></A><A NAME="I7390"></A>This function
returns a value of the type of S whose position number equals the value
of <I>Arg</I>. See 3.5.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>262</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X'Valid<DD Class="Hanging">
For a <FONT FACE="Arial, Helvetica">prefix</FONT> X that denotes a scalar
object (after any implicit dereference):</DL>
<DIV Class="Paranum"><FONT SIZE=-2>263</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields True if and only if the object denoted by
X is normal and has a valid representation. The value of this attribute
is of the predefined type Boolean. See 13.9.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>264</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Value<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>265</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Value denotes a function with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>266</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Value(<I>Arg</I>&nbsp;:&nbsp;String)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>267</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">This function returns a value given an image of
the value as a String, ignoring any leading or trailing spaces. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>268/1</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;P'Version<DD Class="Hanging">
For a <U><FONT FACE="Arial, Helvetica">prefix</FONT></U><S>prefix</S>
P that statically denotes a program unit:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>269</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Yields a value of the predefined type String that
identifies the version of the compilation unit that contains the declaration
of the program unit. See E.3.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>270</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Wide_Image<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>271</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Wide_Image denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>272</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Wide_Image(<I>Arg</I>&nbsp;:&nbsp;S'Base)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;Wide_String</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>273</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging"><A NAME="I7391"></A>The function returns an <I>image</I>
of the value of <I>Arg</I>, that is, a sequence of characters representing
the value in display form. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>274</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Wide_Value<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>275</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Wide_Value denotes a function with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>276</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>function</B>&nbsp;S'Wide_Value(<I>Arg</I>&nbsp;:&nbsp;Wide_String)<BR>
&nbsp;&nbsp;<B>return</B>&nbsp;S'Base</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>277</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">This function returns a value given an image of
the value as a Wide_String, ignoring any leading or trailing spaces.
See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>278</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Wide_Width<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>279</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Wide_Width denotes the maximum length of a Wide_String
returned by S'Wide_Image over all values of the subtype S. It denotes
zero for a subtype that has a null range. Its type is <I>universal_integer</I>.
See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>280</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Width<DD Class="Hanging">
For every scalar subtype S:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>281</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Width denotes the maximum length of a String returned
by S'Image over all values of the subtype S. It denotes zero for a subtype
that has a null range. Its type is <I>universal_integer</I>. See 3.5.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>282</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Class'Write<DD Class="Hanging">
For every subtype S'Class of a class-wide type <I>T</I>'Class:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>283</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Class'Write denotes a procedure with the following
specification: </DL>
<DIV Class="Paranum"><FONT SIZE=-2>284</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>procedure</B>&nbsp;S'Class'Write(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class;<BR>
&nbsp;&nbsp;&nbsp;<I>Item</I>&nbsp;&nbsp;&nbsp;:&nbsp;<B>in</B>&nbsp;<I>T</I>'Class)</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>285</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">Dispatches to the subprogram denoted by the Write
attribute of the specific type identified by the tag of Item. See 13.13.2.</DL>
<DIV Class="Paranum"><FONT SIZE=-2>286</FONT></DIV>
<DL Class="Hanging"><DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S'Write<DD Class="Hanging">
For every subtype S of a specific type <I>T</I>:</DL>
<DIV Class="Paranum"><FONT SIZE=-2>287</FONT></DIV>
<DL Class="Hanging" Style="margin-bottom: 0.4em"><DD Class ="Hanging">S'Write denotes a procedure with the following specification:
</DL>
<DIV Class="Paranum"><FONT SIZE=-2>288</FONT></DIV>
<DIV Class="IndentedExamples"><TT><B>procedure</B>&nbsp;S'Write(<BR>
&nbsp;&nbsp;&nbsp;<I>Stream</I>&nbsp;:&nbsp;<B>access</B>&nbsp;Ada.Streams.Root_Stream_Type'Class;<BR>
&nbsp;&nbsp;&nbsp;<I>Item</I>&nbsp;:&nbsp;<B>in</B>&nbsp;<I>T</I>)</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>289</FONT></DIV>
<DL Class="Hanging"><DD Class ="Hanging">S'Write writes the value of <I>Item</I> to <I>Stream</I>.
See 13.13.2.</DL>

<HR>
<P><A HREF="AA-TOC.html">Contents</A>&nbsp;&nbsp;&nbsp;<A HREF="AA-0-29.html">Index</A>&nbsp;&nbsp;&nbsp;<A HREF="AA-J-9.html">Previous</A>&nbsp;&nbsp;&nbsp;<A HREF="AA-L.html">Next</A>&nbsp;&nbsp;&nbsp;<A HREF="AA-TTL.html">Legal</A></P>
</BODY>
</HTML>