Am Wed, 13 Feb 2013 14:48:21 +0100 schrieb Joseph Rushton Wakeling <joseph.wakel...@webdrake.net>:
> On 02/13/2013 02:26 PM, Marco Leise wrote: > > You get both, 50% more speed and more precision! It is a > > win-win situation. Also take a look at Phobos' std.math that > > returns real everywhere. > > I have to say, it's not been my experience that using real improves speed. > Exactly what optimizations are you using when compiling? The target is Linux, AMD64 and the compiler arguments are: ldc2 -O5 -check-printf-calls -fdata-sections -ffunction-sections -release -singleobj -strip-debug -wi -L=--gc-sections -L=-s -- Marco