mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
15 lines
201 B
D
15 lines
201 B
D
module complex2;
|
|
|
|
void main()
|
|
{
|
|
cdouble c = 3.0 + 0i;
|
|
cdouble d = 2.0 + 0i;
|
|
{
|
|
cdouble c1 = c + 3.0;
|
|
cdouble c2 = c - 3.0i;
|
|
}
|
|
{
|
|
cdouble c1 = c / 2.0;
|
|
}
|
|
}
|