import std.complex; auto i(double v) { return complex(0, v); } void main() { int i = 5; auto c = (6 + 2.5.i - 1 + 3.i) / 3.i; }