|
From: | Werner LEMBERG |
Subject: | Re: [ft-devel] those OVERFLOW_* macros and Fontval b69 (Re: Freetype-devel Digest, Vol 149, Issue 5 |
Date: | Mon, 05 Jun 2017 22:58:15 +0200 (CEST) |
> I am pretty sure that C refuses to define signed overflow and left > shift of negative numbers because it does not want to accept "2's > complement" as de facto standard. Yes, this part of the C standard predates the dominance of two's complement arithmetic. > FreeType also pretends to be uncommitted to "2's complement", see > ftcalc.c:529 for example. I don't think so. It's rather that FreeType *only* works with two's complement arithmetic. > Strangely, these new macros essentially accept "2's complement" as > the only true God and as a FreeType requirement. Yes. Support for one's complement arithmetic is not supported since the transition from FreeType 1 to FreeType 2. Werner
[Prev in Thread] | Current Thread | [Next in Thread] |