]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 24 May 2015 22:38:04 +0000 (22:38 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 24 May 2015 22:38:04 +0000 (22:38 +0000)
tests/validate.c

index 6224a9606ab2054940b9c5ccab8ad6153c59cc39..30ae4e56b7c03d96e8485f118a70f1f29424203d 100644 (file)
@@ -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)
 {