Lines Matching refs:floatval
1430 switch (xmlXPathIsInf(cur->floatval)) { in xmlXPathDebugDumpObject()
1438 if (xmlXPathIsNaN(cur->floatval)) { in xmlXPathDebugDumpObject()
1440 } else if (cur->floatval == 0) { in xmlXPathDebugDumpObject()
1444 fprintf(output, "Object is a number : %0g\n", cur->floatval); in xmlXPathDebugDumpObject()
2651 ret->floatval = val; in xmlXPathCacheNewFloat()
2665 ret->floatval = val; in xmlXPathCacheNewFloat()
2710 res = xmlXPathCastNumberToString(val->floatval); in xmlXPathCacheConvertString()
2753 return(xmlXPathCacheNewFloat(ctxt, val->floatval)); in xmlXPathCacheObjectCopy()
2974 ret = obj->floatval; in xmlXPathPopNumber()
5216 ret->floatval = val; in xmlXPathNewFloat()
5776 ret = xmlXPathCastNumberToString(val->floatval); in xmlXPathCastToString()
5824 res = xmlXPathCastNumberToString(val->floatval); in xmlXPathConvertString()
5943 ret = val->floatval; in xmlXPathCastToNumber()
6057 ret = xmlXPathCastNumberToBoolean(val->floatval); in xmlXPathCastToBoolean()
6818 v = val->floatval; in xmlXPathEqualNodeSetFloat()
6994 xmlXPathCastNumberToBoolean(arg2->floatval)); in xmlXPathEqualValuesCommon()
7026 xmlXPathCastNumberToBoolean(arg1->floatval)); in xmlXPathEqualValuesCommon()
7035 if (xmlXPathIsNaN(arg1->floatval) || in xmlXPathEqualValuesCommon()
7036 xmlXPathIsNaN(arg2->floatval)) { in xmlXPathEqualValuesCommon()
7038 } else if (xmlXPathIsInf(arg1->floatval) == 1) { in xmlXPathEqualValuesCommon()
7039 if (xmlXPathIsInf(arg2->floatval) == 1) in xmlXPathEqualValuesCommon()
7043 } else if (xmlXPathIsInf(arg1->floatval) == -1) { in xmlXPathEqualValuesCommon()
7044 if (xmlXPathIsInf(arg2->floatval) == -1) in xmlXPathEqualValuesCommon()
7048 } else if (xmlXPathIsInf(arg2->floatval) == 1) { in xmlXPathEqualValuesCommon()
7049 if (xmlXPathIsInf(arg1->floatval) == 1) in xmlXPathEqualValuesCommon()
7053 } else if (xmlXPathIsInf(arg2->floatval) == -1) { in xmlXPathEqualValuesCommon()
7054 if (xmlXPathIsInf(arg1->floatval) == -1) in xmlXPathEqualValuesCommon()
7059 ret = (arg1->floatval == arg2->floatval); in xmlXPathEqualValuesCommon()
7098 if (xmlXPathIsNaN(arg1->floatval) || in xmlXPathEqualValuesCommon()
7099 xmlXPathIsNaN(arg2->floatval)) { in xmlXPathEqualValuesCommon()
7101 } else if (xmlXPathIsInf(arg1->floatval) == 1) { in xmlXPathEqualValuesCommon()
7102 if (xmlXPathIsInf(arg2->floatval) == 1) in xmlXPathEqualValuesCommon()
7106 } else if (xmlXPathIsInf(arg1->floatval) == -1) { in xmlXPathEqualValuesCommon()
7107 if (xmlXPathIsInf(arg2->floatval) == -1) in xmlXPathEqualValuesCommon()
7111 } else if (xmlXPathIsInf(arg2->floatval) == 1) { in xmlXPathEqualValuesCommon()
7112 if (xmlXPathIsInf(arg1->floatval) == 1) in xmlXPathEqualValuesCommon()
7116 } else if (xmlXPathIsInf(arg2->floatval) == -1) { in xmlXPathEqualValuesCommon()
7117 if (xmlXPathIsInf(arg1->floatval) == -1) in xmlXPathEqualValuesCommon()
7122 ret = (arg1->floatval == arg2->floatval); in xmlXPathEqualValuesCommon()
7220 ret = xmlXPathEqualNodeSetFloat(ctxt, arg1, arg2->floatval, 0); in xmlXPathEqualValues()
7307 ret = xmlXPathEqualNodeSetFloat(ctxt, arg1, arg2->floatval, 1); in xmlXPathNotEqualValues()
7416 if (xmlXPathIsNaN(arg1->floatval) || xmlXPathIsNaN(arg2->floatval)) { in xmlXPathCompareValues()
7419 arg1i=xmlXPathIsInf(arg1->floatval); in xmlXPathCompareValues()
7420 arg2i=xmlXPathIsInf(arg2->floatval); in xmlXPathCompareValues()
7426 ret = (arg1->floatval < arg2->floatval); in xmlXPathCompareValues()
7435 ret = (arg1->floatval <= arg2->floatval); in xmlXPathCompareValues()
7445 ret = (arg1->floatval > arg2->floatval); in xmlXPathCompareValues()
7454 ret = (arg1->floatval >= arg2->floatval); in xmlXPathCompareValues()
7478 ctxt->value->floatval = -ctxt->value->floatval; in xmlXPathValueFlipSign()
7501 ctxt->value->floatval += val; in xmlXPathAddValues()
7524 ctxt->value->floatval -= val; in xmlXPathSubValues()
7547 ctxt->value->floatval *= val; in xmlXPathMultValues()
7571 ctxt->value->floatval /= val; in xmlXPathDivValues()
7594 arg1 = ctxt->value->floatval; in xmlXPathModValues()
7596 ctxt->value->floatval = xmlXPathNAN; in xmlXPathModValues()
7598 ctxt->value->floatval = fmod(arg1, arg2); in xmlXPathModValues()
9117 le = len->floatval; in xmlXPathSubstringFunction()
9124 in = start->floatval; in xmlXPathSubstringFunction()
9597 ctxt->value->floatval = floor(ctxt->value->floatval); in xmlXPathFloorFunction()
9618 ctxt->value->floatval = copysign(ceil(ctxt->value->floatval), ctxt->value->floatval); in xmlXPathCeilingFunction()
9620 ctxt->value->floatval = ceil(ctxt->value->floatval); in xmlXPathCeilingFunction()
9643 f = ctxt->value->floatval; in xmlXPathRoundFunction()
9647 ctxt->value->floatval *= 0.0; in xmlXPathRoundFunction()
9653 ctxt->value->floatval = rounded; in xmlXPathRoundFunction()
11938 double floatval = ((xmlXPathObjectPtr) exprOp->value4)->floatval; in xmlXPathIsPositionalPredicate() local
11951 if ((floatval > INT_MIN) && (floatval < INT_MAX)) { in xmlXPathIsPositionalPredicate()
11952 *maxPos = (int) floatval; in xmlXPathIsPositionalPredicate()
11953 if (floatval == (double) *maxPos) in xmlXPathIsPositionalPredicate()
13262 (val->floatval == 1.0)) { in xmlXPathCompOpEval()
13984 return(res->floatval == ctxt->proximityPosition); in xmlXPathEvalPredicate()
14024 return((res->floatval == ctxt->context->proximityPosition) && in xmlXPathEvaluatePredicateResult()
14025 (!xmlXPathIsNaN(res->floatval))); /* MSC pbm Mark Vakoc !*/ in xmlXPathEvaluatePredicateResult()
14027 return(res->floatval == ctxt->context->proximityPosition); in xmlXPathEvaluatePredicateResult()