forked from minhngoc25a/freetype2
Typos, whitespace.
This commit is contained in:
parent
ad9d5c9726
commit
53c0cb59ed
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
[base] Update the overflow protection bit.
|
[base] Update the overflow protection bit.
|
||||||
|
|
||||||
The recent optimizations of CORDIC iterations drastically reduce
|
The recent optimizations of CORDIC iterations drastically reduce the
|
||||||
the expansion factor. The vector components with MSB of 29 are now
|
expansion factor. Vector components with MSB of 29 are now safe
|
||||||
safe from overflow.
|
from overflow.
|
||||||
|
|
||||||
* src/base/fttrigon.c (FT_TRIG_SAFE_MSB): New macro.
|
* src/base/fttrigon.c (FT_TRIG_SAFE_MSB): New macro.
|
||||||
(ft_trig_prenorm): Use it and remove dead code.
|
(ft_trig_prenorm): Use it and remove dead code.
|
||||||
|
@ -5520,7 +5520,7 @@
|
||||||
|
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
Copyright 2010-2012 by
|
Copyright 2010-2013 by
|
||||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used, modified,
|
This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -42,8 +42,8 @@
|
||||||
/* the Cordic shrink factor 0.858785336480436 * 2^32 */
|
/* the Cordic shrink factor 0.858785336480436 * 2^32 */
|
||||||
#define FT_TRIG_SCALE 0xDBD95B16UL
|
#define FT_TRIG_SCALE 0xDBD95B16UL
|
||||||
|
|
||||||
/* the highest bit in overflow-safe vectror components,
|
/* the highest bit in overflow-safe vector components, */
|
||||||
MSB of 0.858785336480436 * sqrt(0.5) * 2^30 */
|
/* MSB of 0.858785336480436 * sqrt(0.5) * 2^30 */
|
||||||
#define FT_TRIG_SAFE_MSB 29
|
#define FT_TRIG_SAFE_MSB 29
|
||||||
|
|
||||||
/* this table was generated for FT_PI = 180L << 16, i.e. degrees */
|
/* this table was generated for FT_PI = 180L << 16, i.e. degrees */
|
||||||
|
|
Loading…
Reference in New Issue