[flang] Add dcmplx to the intrinsic table and extensions documentation.
Formatting change to dimag intrinsic table entry. Original-commit: flang-compiler/f18@7f9237531c Reviewed-on: https://github.com/flang-compiler/f18/pull/662
This commit is contained in:
parent
e59305d7ae
commit
0653dab8de
|
@ -94,7 +94,7 @@ Extensions, deletions, and legacy features supported by default
|
||||||
we allow distinct types to be used, promoting
|
we allow distinct types to be used, promoting
|
||||||
the arguments as if they were operands to an intrinsic `+` operator,
|
the arguments as if they were operands to an intrinsic `+` operator,
|
||||||
and defining the result type accordingly.
|
and defining the result type accordingly.
|
||||||
* DOUBLE COMPLEX intrinsics DCONJG and DIMAG.
|
* DOUBLE COMPLEX intrinsics DCMPLX, DCONJG and DIMAG.
|
||||||
|
|
||||||
Extensions supported when enabled by options
|
Extensions supported when enabled by options
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
|
@ -771,6 +771,12 @@ static const SpecificIntrinsicInterface specificIntrinsicFunction[]{
|
||||||
{{"datan2", {{"y", DoublePrecision}, {"x", DoublePrecision}},
|
{{"datan2", {{"y", DoublePrecision}, {"x", DoublePrecision}},
|
||||||
DoublePrecision},
|
DoublePrecision},
|
||||||
"atan2"},
|
"atan2"},
|
||||||
|
{{"dcmplx", {{"x", DefaultComplex}}, DoublePrecisionComplex}, "cmplx"},
|
||||||
|
{{"dcmplx",
|
||||||
|
{{"x", AnyIntOrReal, Rank::elementalOrBOZ},
|
||||||
|
{"y", AnyIntOrReal, Rank::elementalOrBOZ, Optionality::optional}},
|
||||||
|
DoublePrecisionComplex},
|
||||||
|
"cmplx"},
|
||||||
{{"dconjg", {{"a", DoublePrecisionComplex}}, DoublePrecisionComplex},
|
{{"dconjg", {{"a", DoublePrecisionComplex}}, DoublePrecisionComplex},
|
||||||
"conjg"},
|
"conjg"},
|
||||||
{{"dcos", {{"x", DoublePrecision}}, DoublePrecision}, "cos"},
|
{{"dcos", {{"x", DoublePrecision}}, DoublePrecision}, "cos"},
|
||||||
|
@ -778,8 +784,7 @@ static const SpecificIntrinsicInterface specificIntrinsicFunction[]{
|
||||||
{{"ddim", {{"x", DoublePrecision}, {"y", DoublePrecision}},
|
{{"ddim", {{"x", DoublePrecision}, {"y", DoublePrecision}},
|
||||||
DoublePrecision},
|
DoublePrecision},
|
||||||
"dim"},
|
"dim"},
|
||||||
{{"dimag", {{"a", DoublePrecisionComplex}}, DoublePrecision},
|
{{"dimag", {{"a", DoublePrecisionComplex}}, DoublePrecision}, "aimag"},
|
||||||
"aimag"},
|
|
||||||
{{"dexp", {{"x", DoublePrecision}}, DoublePrecision}, "exp"},
|
{{"dexp", {{"x", DoublePrecision}}, DoublePrecision}, "exp"},
|
||||||
{{"dim", {{"x", DefaultReal}, {"y", DefaultReal}}, DefaultReal}},
|
{{"dim", {{"x", DefaultReal}, {"y", DefaultReal}}, DefaultReal}},
|
||||||
{{"dint", {{"a", DoublePrecision}}, DoublePrecision}, "aint"},
|
{{"dint", {{"a", DoublePrecision}}, DoublePrecision}, "aint"},
|
||||||
|
|
Loading…
Reference in a new issue