We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9be505c + d24e4f4 commit e32a732Copy full SHA for e32a732
1 file changed
src/libImaging/Draw.c
@@ -42,7 +42,7 @@
42
#define INK8(ink) (*(UINT8*)ink)
43
44
/*
45
- * Rounds around zero (up=away from zero, down=torwards zero)
+ * Rounds around zero (up=away from zero, down=towards zero)
46
* This guarantees that ROUND_UP|DOWN(f) == -ROUND_UP|DOWN(-f)
47
*/
48
#define ROUND_UP(f) ((int) ((f) >= 0.0 ? floor((f) + 0.5F) : -floor(fabs(f) + 0.5F)))
0 commit comments