[macstl-dev] not all rosey in the gcc-4.0.0 land
lipovsky at skycomputers.com
Sat Jul 2 12:32:23 WST 2005
> That is strange indeed. On Apple gcc 4.0 (as of Xcode 2.1), the following:
> using namespace stdext;
> valarray <float> v1 (10.f, 100);
> valarray <float> v2 (20.f, 100);
> std::cout << (v1 * v2).sum ();
> produces 20000 as expected. Do you not get this result with Yellow Dog Linux?
> You may have to check carefully where the problem occurs in YDL, since this
> is explicitly one of the expressions optimized to use vmaddfp through
Could you please try that with valarray<stdext::complex <float> > ?
Because this is where my code fails.
More information about the macstl-dev