math: simplify hypot and hypotf using scalbn
authorSzabolcs Nagy <nsz@port70.net>
Tue, 13 Nov 2012 20:54:32 +0000 (21:54 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Tue, 13 Nov 2012 20:54:32 +0000 (21:54 +0100)
commit529a8de46cbf6cce525ab25c4532822006502f29
tree96eb7a3856ad9280f1b308d67069580ff55d558a
parent6d3f1a39c14b12026df84f386875b094e3652990
math: simplify hypot and hypotf using scalbn

this also fixes overflow/underflow raising and excess
precision issues (as those are handled well in scalbn)
src/math/hypot.c
src/math/hypotf.c