From f06a56109a8084a8d2816cd90c5dfbac7ee1b314 Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 27 May 2014 22:00:22 +0000 Subject: [PATCH] --- MagickCore/fx.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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': { -- 2.50.1