]> granicus.if.org Git - graphviz/commit
dotgen leftOf: perform computation in double range
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Sep 2022 00:27:49 +0000 (17:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 29 Jan 2023 16:24:43 +0000 (08:24 -0800)
commit1e0a27d699b7f22e4d6444a9038a562db5830c8e
tree89e2bacd9cd5c0aabe85951c09e9e03b961a5cf5
parent081794a16d10c0a79f88fd0c2475b780534b1af9
dotgen leftOf: perform computation in double range

It is not clear to me why this code was implicitly converting the result of its
computation to `int`. Doing the entire thing in `double` is more precise and
squashes a compiler warning.
lib/dotgen/dotsplines.c