diff options
author | cristy <urban-warrior@git.imagemagick.org> | 2015-05-24 22:38:04 +0000 |
---|---|---|
committer | cristy <urban-warrior@git.imagemagick.org> | 2015-05-24 22:38:04 +0000 |
commit | 33ad9c9747665f229e44c6ea44d594502b2f6145 (patch) | |
tree | 961ead1403315398b8703552876fd60dba856166 /tests | |
parent | 90efa0a910ec27da486c2c2ed40778bb9a3e06d8 (diff) | |
download | ImageMagick-33ad9c9747665f229e44c6ea44d594502b2f6145.tar.gz |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/validate.c | 14 |
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) { |