Subject: Re: [boost] [complex] Feedback and Potential Review Manager
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-05-01 13:12:59
> But then aren't you removing the optimization complex<double> * int that
> Chris originally proposed ? As your int is promoted to a double. Or are
> you talking about non-POD integer-like types ?
No, the promotion is only in calculating the *type of the result*, if you
look at the actual arithmetic in the example, then the real and imaginary
components are directly multiplied by the arithmetic type.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk