DescriptionCorrect SkFixedToDouble.
SkFixedToDouble uses the decimal floating point string representation
of 1/(2^16) to provide a constant value. This value is exactly
representable by a double but the decimal constant currently used
does not map to this value.
This change modifies this constant to more decimal digits so that
the actual double value desired is created.
Committed: https://skia.googlesource.com/skia/+/f4fddfc300f983eb221327fa9b1588c3b08262a6
Patch Set 1 #
Total comments: 1
Patch Set 2 : Correct the floating point value as well (fixes possible rounding issues). #
Total comments: 2
Messages
Total messages: 13 (5 generated)
|