It was so in F77 (or, maybe, earlier). As it is a type conversion function, it could always take any arithmetic type argument. One (then the imaginary part was set to 0.0) or two, with the obvious exception of only single complex argument allowed.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Complex number expression fails | 6 | 408 | January 20, 2024 | |
| %re and %im in constants | 15 | 277 | May 16, 2025 | |
|
Detect literal constant kind
|
4 | 227 | April 28, 2024 | |
|
Redundant parenthesis, parenthesis used to force evaluation as an expression, and other things to be cautious about
|
13 | 893 | March 9, 2022 | |
|
Cmplx( 1.0_q, 0.0_q,kind=q)
|
4 | 671 | March 29, 2022 |