## D - Complex type: .im property

The documentation states that if z is complex, z.im is imaginary while z.re is extended. Shouldn't both be extended? (as in mathematics) Also, in eng. the j is used for imaginary unit. Could D allow the use of i/j (both of them) to write complex numbers?

Dec 15 2003

"Felix" <Felix_member pathlink.com> wrote in message news:brkput$dg8$1 digitaldaemon.com...The documentation states that if z is complex, z.im is imaginary whilez.re isextended. Shouldn't both be extended? (as in mathematics)Yes (good catch).Also, in eng. the j is used for imaginary unit. Could D allow the use ofi/j(both of them) to write complex numbers?I've used both i and j in college, and never had any trouble switching between the two. I'm reluctant to add features without a clear advantage to them.

Dec 16 2003

In article <bro8du$3qg$1 digitaldaemon.com>, Walter says..."Felix" <Felix_member pathlink.com> wrote in message news:brkput$dg8$1 digitaldaemon.com...OK, I agree, maybe doesn't worth to add this feature. I got your point.The documentation states that if z is complex, z.im is imaginary whilez.re isextended. Shouldn't both be extended? (as in mathematics)Yes (good catch).Also, in eng. the j is used for imaginary unit. Could D allow the use ofi/j(both of them) to write complex numbers?I've used both i and j in college, and never had any trouble switching between the two. I'm reluctant to add features without a clear advantage to them.

Dec 16 2003