Home
last modified time | relevance | path

Searched refs:ReferenceEpsilon (Results 1 – 1 of 1) sorted by relevance

/external/ImageMagick/tests/
Dvalidate.c59 #define ReferenceEpsilon (QuantumRange*1.0e-2) macro
600 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateHSIToRGB()
601 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateHSIToRGB()
602 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateHSIToRGB()
617 if ((fabs(h-111.244374/360.0) >= ReferenceEpsilon) || in ValidateRGBToHSI()
618 (fabs(s-0.295985) >= ReferenceEpsilon) || in ValidateRGBToHSI()
619 (fabs(i-0.658734) >= ReferenceEpsilon)) in ValidateRGBToHSI()
633 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateHSLToRGB()
634 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateHSLToRGB()
635 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateHSLToRGB()
[all …]