[Top][All Lists]
[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:19:59 +0100 |
Am Donnerstag, den 02.12.2010, 09:09 +0100 schrieb Sandro Santilli:
> On Thu, Dec 02, 2010 at 09:07:47AM +0100, Sandro Santilli wrote:
>
> > Some days ago someone suggested to use hypot(3) for sqrt(a2+b2)
hypot() isn't C++, so not a good idea.
> Looks like boost has its own too:
>
> http://www.boost.org/doc/libs/1_34_1/boost/math/special_functions/hypot.hpp
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).
bwy
--
--
Free Flash, use Gnash
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
signature.asc
Description: This is a digitally signed message part
- [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa7ce2bb91986133419459e3f4, Sandro Santilli, 2010/12/02
- Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa7ce2bb91986133419459e3f4, Sandro Santilli, 2010/12/02
- Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa7ce2bb91986133419459e3f4, Sandro Santilli, 2010/12/02
- Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa7ce2bb91986133419459e3f4,
Benjamin Wolsey <=
- Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa7ce2bb91986133419459e3f4, Sandro Santilli, 2010/12/02
- Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 5a8952cf6f6675fa7ce2bb91986133419459e3f4, Benjamin Wolsey, 2010/12/02