From: cristy Date: Sun, 24 May 2015 22:38:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1000 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33ad9c9747665f229e44c6ea44d594502b2f6145;p=imagemagick --- diff --git a/tests/validate.c b/tests/validate.c index 6224a9606..30ae4e56b 100644 --- a/tests/validate.c +++ b/tests/validate.c @@ -480,20 +480,6 @@ static void ConvertRGBToLMS(const double red,const double green, ConvertXYZToLMS(X,Y,Z,L,M,S); } -static inline double PerceptibleReciprocal(const double x) -{ - double - sign; - - /* - Return 1/x where x is perceptible (not unlimited or infinitesimal). - */ - sign=x < 0.0 ? -1.0 : 1.0; - if ((sign*x) >= MagickEpsilon) - return(1.0/x); - return(sign/MagickEpsilon); -} - static inline void ConvertXYZToLuv(const double X,const double Y,const double Z, double *L,double *u,double *v) {