File tree Expand file tree Collapse file tree 6 files changed +16
-0
lines changed
templates/type_instantiations Expand file tree Collapse file tree 6 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -816,6 +816,12 @@ private predicate floatingPointTypeMapping(
816
816
or
817
817
// _Float128x
818
818
kind = 50 and base = 2 and domain = TRealDomain ( ) and realKind = 50 and extended = true
819
+ or
820
+ // _Float16
821
+ kind = 52 and base = 2 and domain = TRealDomain ( ) and realKind = 52 and extended = false
822
+ or
823
+ // _Complex _Float16
824
+ kind = 53 and base = 2 and domain = TComplexDomain ( ) and realKind = 52 and extended = false
819
825
}
820
826
821
827
/**
Original file line number Diff line number Diff line change @@ -610,6 +610,8 @@ case @builtintype.kind of
610
610
| 49 = @std_float128 // _Float128
611
611
| 50 = @float128x // _Float128x
612
612
| 51 = @char8_t
613
+ | 52 = @float16 // _Float16
614
+ | 53 = @complex_float16 // _Complex _Float16
613
615
;
614
616
615
617
builtintypes(
Original file line number Diff line number Diff line change 1
1
| file://:0:0:0:0 | Cl<char, Sa, Sb> * |
2
+ | file://:0:0:0:0 | _Complex _Float16 |
2
3
| file://:0:0:0:0 | _Complex __float128 |
3
4
| file://:0:0:0:0 | _Complex double |
4
5
| file://:0:0:0:0 | _Complex float |
5
6
| file://:0:0:0:0 | _Complex long double |
6
7
| file://:0:0:0:0 | _Decimal32 |
7
8
| file://:0:0:0:0 | _Decimal64 |
8
9
| file://:0:0:0:0 | _Decimal128 |
10
+ | file://:0:0:0:0 | _Float16 |
9
11
| file://:0:0:0:0 | _Float32 |
10
12
| file://:0:0:0:0 | _Float32x |
11
13
| file://:0:0:0:0 | _Float64 |
Original file line number Diff line number Diff line change 19
19
| file://:0:0:0:0 | StructWithDef && | 8 |
20
20
| file://:0:0:0:0 | UnionWithDef & | 8 |
21
21
| file://:0:0:0:0 | UnionWithDef && | 8 |
22
+ | file://:0:0:0:0 | _Complex _Float16 | 4 |
22
23
| file://:0:0:0:0 | _Complex __float128 | 32 |
23
24
| file://:0:0:0:0 | _Complex double | 16 |
24
25
| file://:0:0:0:0 | _Complex float | 8 |
25
26
| file://:0:0:0:0 | _Complex long double | 32 |
26
27
| file://:0:0:0:0 | _Decimal32 | 4 |
27
28
| file://:0:0:0:0 | _Decimal64 | 8 |
28
29
| file://:0:0:0:0 | _Decimal128 | 16 |
30
+ | file://:0:0:0:0 | _Float16 | 2 |
29
31
| file://:0:0:0:0 | _Float32 | 4 |
30
32
| file://:0:0:0:0 | _Float32x | 8 |
31
33
| file://:0:0:0:0 | _Float64 | 8 |
Original file line number Diff line number Diff line change 1
1
| file://:0:0:0:0 | ..()(..) | ..()(..) |
2
2
| file://:0:0:0:0 | ..(*)(..) | ..(*)(..) |
3
3
| file://:0:0:0:0 | Tmpl<T> | Tmpl<T> |
4
+ | file://:0:0:0:0 | _Complex _Float16 | _Complex _Float16 |
4
5
| file://:0:0:0:0 | _Complex __float128 | _Complex __float128 |
5
6
| file://:0:0:0:0 | _Complex double | _Complex double |
6
7
| file://:0:0:0:0 | _Complex float | _Complex float |
7
8
| file://:0:0:0:0 | _Complex long double | _Complex long double |
8
9
| file://:0:0:0:0 | _Decimal32 | _Decimal32 |
9
10
| file://:0:0:0:0 | _Decimal64 | _Decimal64 |
10
11
| file://:0:0:0:0 | _Decimal128 | _Decimal128 |
12
+ | file://:0:0:0:0 | _Float16 | _Float16 |
11
13
| file://:0:0:0:0 | _Float32 | _Float32 |
12
14
| file://:0:0:0:0 | _Float32x | _Float32x |
13
15
| file://:0:0:0:0 | _Float64 | _Float64 |
Original file line number Diff line number Diff line change 1
1
| ..()(..) | RoutineType | | | | |
2
2
| ..(*)(..) | FunctionPointerType | | ..()(..) | | |
3
+ | _Complex _Float16 | BinaryFloatingPointType, ComplexNumberType | | | | |
3
4
| _Complex __float128 | BinaryFloatingPointType, ComplexNumberType | | | | |
4
5
| _Complex double | BinaryFloatingPointType, ComplexNumberType | | | | |
5
6
| _Complex float | BinaryFloatingPointType, ComplexNumberType | | | | |
6
7
| _Complex long double | BinaryFloatingPointType, ComplexNumberType | | | | |
7
8
| _Decimal32 | Decimal32Type | | | | |
8
9
| _Decimal64 | Decimal64Type | | | | |
9
10
| _Decimal128 | Decimal128Type | | | | |
11
+ | _Float16 | BinaryFloatingPointType, RealNumberType | | | | |
10
12
| _Float32 | BinaryFloatingPointType, RealNumberType | | | | |
11
13
| _Float32x | BinaryFloatingPointType, RealNumberType | | | | |
12
14
| _Float64 | BinaryFloatingPointType, RealNumberType | | | | |
You can’t perform that action at this time.
0 commit comments