]> granicus.if.org Git - graphviz/commit
replace hypotenuse calculation in arrow_gen with a call to hypot
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 5 May 2021 03:42:17 +0000 (20:42 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 12 May 2021 01:46:36 +0000 (18:46 -0700)
commit0415b9a217f92f6df77e818a4a09d9b35520f6f3
treeec38e228517f41140a6109e8f48ede90ed8ac561
parent8c811b1274f2d527f62364fba333046e094c9d76
replace hypotenuse calculation in arrow_gen 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/arrows.c