From: cristy Date: Tue, 27 May 2014 22:00:22 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f06a56109a8084a8d2816cd90c5dfbac7ee1b314;p=imagemagick --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index 5e315715d..320d9102a 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -1925,6 +1925,17 @@ static const char *FxOperatorPrecedence(const char *expression, } break; } + case 'E': + case 'e': + { + if ((isdigit((int) ((unsigned char) c)) != 0) && + ((LocaleNCompare(expression,"E+",2) == 0) || + (LocaleNCompare(expression,"E-",2) == 0))) + { + expression+=2; /* scientific notation */ + break; + } + } case 'J': case 'j': {