Boost logo

Ublas :

From: Preben Hagh Strunge Holm (preben_at_[hidden])
Date: 2007-03-12 08:35:39


>> I'm not much of a gcc-hacker, but since there are hundreds of flags - do
>> you remember which one to set if I use gcc/g++?
>
> I use for release version
>
> g++ -O2 -DNDEBUG -g ...
>
> The flag -O3 works most of the time but gives occasionally slower code...
> You can also add -ffast-math to allow optimizations that may improve speed but
> lose (1 or 2 bits) accuracy.

Hi sorry, you may have misunderstood my question. I should have written
which flag to make sure that the same floating point arithmetic is used
on different architectures!

Thanks

Best regards,
Preben