summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcristy <urban-warrior@git.imagemagick.org>2015-05-24 22:38:04 +0000
committercristy <urban-warrior@git.imagemagick.org>2015-05-24 22:38:04 +0000
commit33ad9c9747665f229e44c6ea44d594502b2f6145 (patch)
tree961ead1403315398b8703552876fd60dba856166 /tests
parent90efa0a910ec27da486c2c2ed40778bb9a3e06d8 (diff)
downloadImageMagick-33ad9c9747665f229e44c6ea44d594502b2f6145.tar.gz
Diffstat (limited to 'tests')
-rw-r--r--tests/validate.c14
1 files changed, 0 insertions, 14 deletions
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)
{