diff options
Diffstat (limited to 'libexslt/math.c')
-rw-r--r-- | libexslt/math.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libexslt/math.c b/libexslt/math.c index a1971e05..6b24dbe0 100644 --- a/libexslt/math.c +++ b/libexslt/math.c @@ -298,7 +298,7 @@ static void exsltMathLowestFunction (xmlXPathParserContextPtr ctxt, int nargs) { xmlNodeSetPtr ns, ret; void *user = NULL; - + if (nargs != 1) { xmlXPathSetArityError(ctxt); @@ -368,7 +368,7 @@ exsltMathConstant (xmlChar *name, double precision) { if (precision <= len) len = (int)precision; - + str = xmlStrsub(EXSLT_PI, 0, len); } else if (xmlStrEqual(name, BAD_CAST "E")) { @@ -376,7 +376,7 @@ exsltMathConstant (xmlChar *name, double precision) { if (precision <= len) len = (int)precision; - + str = xmlStrsub(EXSLT_E, 0, len); } else if (xmlStrEqual(name, BAD_CAST "SQRRT2")) { @@ -384,7 +384,7 @@ exsltMathConstant (xmlChar *name, double precision) { if (precision <= len) len = (int)precision; - + str = xmlStrsub(EXSLT_SQRRT2, 0, len); } else if (xmlStrEqual(name, BAD_CAST "LN2")) { @@ -392,7 +392,7 @@ exsltMathConstant (xmlChar *name, double precision) { if (precision <= len) len = (int)precision; - + str = xmlStrsub(EXSLT_LN2, 0, len); } else if (xmlStrEqual(name, BAD_CAST "LN10")) { @@ -400,7 +400,7 @@ exsltMathConstant (xmlChar *name, double precision) { if (precision <= len) len = (int)precision; - + str = xmlStrsub(EXSLT_LN10, 0, len); } else if (xmlStrEqual(name, BAD_CAST "LOG2E")) { @@ -408,7 +408,7 @@ exsltMathConstant (xmlChar *name, double precision) { if (precision <= len) len = (int)precision; - + str = xmlStrsub(EXSLT_LOG2E, 0, len); } else if (xmlStrEqual(name, BAD_CAST "SQRT1_2")) { @@ -416,7 +416,7 @@ exsltMathConstant (xmlChar *name, double precision) { if (precision <= len) len = (int)precision; - + str = xmlStrsub(EXSLT_SQRT1_2, 0, len); } else { |