diff options
author | Matt Turner <mattst88@gmail.com> | 2011-04-27 18:25:27 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-09-21 17:12:04 -0400 |
commit | 9eab5b3443a1926a29385948acc6c5e0843465ea (patch) | |
tree | 893095ecd7e714f75b8b6fe146f8cfe0ce84ebe9 /mi/miwideline.c | |
parent | 40a47bd628f525d2d8bd3ca76554089a6e9d2a1d (diff) |
Replace Fabs() macro with fabs() function
gcc generates better code with fabs() anyway.
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Tested-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'mi/miwideline.c')
-rw-r--r-- | mi/miwideline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/miwideline.c b/mi/miwideline.c index bc5ee74c2..057339dbe 100644 --- a/mi/miwideline.c +++ b/mi/miwideline.c @@ -322,7 +322,7 @@ miPolyBuildEdge ( { double realk, kerror; realk = x0 * dy - y0 * dx; - kerror = Fabs (realk - k); + kerror = fabs (realk - k); if (kerror > .1) printf ("realk: %g k: %g\n", realk, k); } |