]> granicus.if.org Git - graphviz/commit
replace hypotenuse calculation in estimateError with a call to hypot
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 5 May 2021 03:43:45 +0000 (20:43 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 12 May 2021 01:46:36 +0000 (18:46 -0700)
commitf0a9fd9d4d874aa99964c7a63995c5f37c098d1b
tree7428bda857f3df58879e442ab45ee4453d791363
parent0415b9a217f92f6df77e818a4a09d9b35520f6f3
replace hypotenuse calculation in estimateError with a call to hypot

The function hypot is available in C99 and has the potential to compute the same
operation more efficiently and with greater precision.
lib/common/ellipse.c