]> granicus.if.org Git - graphviz/commit
replace hypotenuse calculation with a call to hypot
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 5 May 2021 03:40:51 +0000 (20:40 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 12 May 2021 01:46:36 +0000 (18:46 -0700)
commit8c811b1274f2d527f62364fba333046e094c9d76
tree923d9a4571b2cfbac5a18c73db93a84507d83f5d
parent685048283ac5c3192baf3a5ef06f60a1a0d615ef
replace hypotenuse calculation 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