gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa


From: Benjamin Wolsey
Subject: Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa7ce2bb91986133419459e3f4
Date: Thu, 02 Dec 2010 09:28:56 +0100

Am Donnerstag, den 02.12.2010, 09:23 +0100 schrieb Sandro Santilli:
> On Thu, Dec 02, 2010 at 09:19:59AM +0100, Benjamin Wolsey wrote:
> 
> > Boost's version looks okay to me, but since it works perfectly well
> > already, why change it? It would make the code shorter, but to be honest
> > "sqrt(a*a + b*b)" is clearer to me than hypot(a, b).
> 
> Well.. didn't build on openbsd so not really "perfectly well".
> And it also took a static_cast to work. If boost turns it
> really into an 'hypot(a(), b());' it does look clearer to me.

This is because openbsd's compiler isn't very good, and who's to say it
can compile hypot() with integer arguments either?

> Anyway, won't insist.

Neither will I!

-- 
--
Use Gnash, the GNU Flash Player!
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
C++ and Open-Source Flash blog - http://www.benjaminwolsey.de/bwysblog

xmpp:address@hidden
http://identi.ca/bwy

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]