Lines Matching refs:floatval
1398 switch (xmlXPathIsInf(cur->floatval)) { in xmlXPathDebugDumpObject()
1406 if (xmlXPathIsNaN(cur->floatval)) { in xmlXPathDebugDumpObject()
1408 } else if (cur->floatval == 0) { in xmlXPathDebugDumpObject()
1412 fprintf(output, "Object is a number : %0g\n", cur->floatval); in xmlXPathDebugDumpObject()
2612 ret->floatval = val; in xmlXPathCacheNewFloat()
2626 ret->floatval = val; in xmlXPathCacheNewFloat()
2671 res = xmlXPathCastNumberToString(val->floatval); in xmlXPathCacheConvertString()
2712 return(xmlXPathCacheNewFloat(ctxt, val->floatval)); in xmlXPathCacheObjectCopy()
2926 ret = obj->floatval; in xmlXPathPopNumber()
5240 ret->floatval = val; in xmlXPathNewFloat()
5797 ret = xmlXPathCastNumberToString(val->floatval); in xmlXPathCastToString()
5843 res = xmlXPathCastNumberToString(val->floatval); in xmlXPathConvertString()
5960 ret = val->floatval; in xmlXPathCastToNumber()
6072 ret = xmlXPathCastNumberToBoolean(val->floatval); in xmlXPathCastToBoolean()
6830 v = val->floatval; in xmlXPathEqualNodeSetFloat()
7002 xmlXPathCastNumberToBoolean(arg2->floatval)); in xmlXPathEqualValuesCommon()
7032 xmlXPathCastNumberToBoolean(arg1->floatval)); in xmlXPathEqualValuesCommon()
7041 if (xmlXPathIsNaN(arg1->floatval) || in xmlXPathEqualValuesCommon()
7042 xmlXPathIsNaN(arg2->floatval)) { in xmlXPathEqualValuesCommon()
7044 } else if (xmlXPathIsInf(arg1->floatval) == 1) { in xmlXPathEqualValuesCommon()
7045 if (xmlXPathIsInf(arg2->floatval) == 1) in xmlXPathEqualValuesCommon()
7049 } else if (xmlXPathIsInf(arg1->floatval) == -1) { in xmlXPathEqualValuesCommon()
7050 if (xmlXPathIsInf(arg2->floatval) == -1) in xmlXPathEqualValuesCommon()
7054 } else if (xmlXPathIsInf(arg2->floatval) == 1) { in xmlXPathEqualValuesCommon()
7055 if (xmlXPathIsInf(arg1->floatval) == 1) in xmlXPathEqualValuesCommon()
7059 } else if (xmlXPathIsInf(arg2->floatval) == -1) { in xmlXPathEqualValuesCommon()
7060 if (xmlXPathIsInf(arg1->floatval) == -1) in xmlXPathEqualValuesCommon()
7065 ret = (arg1->floatval == arg2->floatval); in xmlXPathEqualValuesCommon()
7102 if (xmlXPathIsNaN(arg1->floatval) || in xmlXPathEqualValuesCommon()
7103 xmlXPathIsNaN(arg2->floatval)) { in xmlXPathEqualValuesCommon()
7105 } else if (xmlXPathIsInf(arg1->floatval) == 1) { in xmlXPathEqualValuesCommon()
7106 if (xmlXPathIsInf(arg2->floatval) == 1) in xmlXPathEqualValuesCommon()
7110 } else if (xmlXPathIsInf(arg1->floatval) == -1) { in xmlXPathEqualValuesCommon()
7111 if (xmlXPathIsInf(arg2->floatval) == -1) in xmlXPathEqualValuesCommon()
7115 } else if (xmlXPathIsInf(arg2->floatval) == 1) { in xmlXPathEqualValuesCommon()
7116 if (xmlXPathIsInf(arg1->floatval) == 1) in xmlXPathEqualValuesCommon()
7120 } else if (xmlXPathIsInf(arg2->floatval) == -1) { in xmlXPathEqualValuesCommon()
7121 if (xmlXPathIsInf(arg1->floatval) == -1) in xmlXPathEqualValuesCommon()
7126 ret = (arg1->floatval == arg2->floatval); in xmlXPathEqualValuesCommon()
7220 ret = xmlXPathEqualNodeSetFloat(ctxt, arg1, arg2->floatval, 0); in xmlXPathEqualValues()
7305 ret = xmlXPathEqualNodeSetFloat(ctxt, arg1, arg2->floatval, 1); in xmlXPathNotEqualValues()
7412 if (xmlXPathIsNaN(arg1->floatval) || xmlXPathIsNaN(arg2->floatval)) { in xmlXPathCompareValues()
7415 arg1i=xmlXPathIsInf(arg1->floatval); in xmlXPathCompareValues()
7416 arg2i=xmlXPathIsInf(arg2->floatval); in xmlXPathCompareValues()
7422 ret = (arg1->floatval < arg2->floatval); in xmlXPathCompareValues()
7431 ret = (arg1->floatval <= arg2->floatval); in xmlXPathCompareValues()
7441 ret = (arg1->floatval > arg2->floatval); in xmlXPathCompareValues()
7450 ret = (arg1->floatval >= arg2->floatval); in xmlXPathCompareValues()
7474 ctxt->value->floatval = -ctxt->value->floatval; in xmlXPathValueFlipSign()
7497 ctxt->value->floatval += val; in xmlXPathAddValues()
7520 ctxt->value->floatval -= val; in xmlXPathSubValues()
7543 ctxt->value->floatval *= val; in xmlXPathMultValues()
7566 ctxt->value->floatval /= val; in xmlXPathDivValues()
7589 arg1 = ctxt->value->floatval; in xmlXPathModValues()
7591 ctxt->value->floatval = NAN; in xmlXPathModValues()
7593 ctxt->value->floatval = fmod(arg1, arg2); in xmlXPathModValues()
9154 le = len->floatval; in xmlXPathSubstringFunction()
9161 in = start->floatval; in xmlXPathSubstringFunction()
9666 ctxt->value->floatval = floor(ctxt->value->floatval); in xmlXPathFloorFunction()
9685 ctxt->value->floatval = ceil(ctxt->value->floatval); in xmlXPathCeilingFunction()
9707 f = ctxt->value->floatval; in xmlXPathRoundFunction()
9711 ctxt->value->floatval *= 0.0; in xmlXPathRoundFunction()
9717 ctxt->value->floatval = rounded; in xmlXPathRoundFunction()
12033 double floatval = ((xmlXPathObjectPtr) exprOp->value4)->floatval; in xmlXPathIsPositionalPredicate() local
12046 if ((floatval > INT_MIN) && (floatval < INT_MAX)) { in xmlXPathIsPositionalPredicate()
12047 *maxPos = (int) floatval; in xmlXPathIsPositionalPredicate()
12048 if (floatval == (double) *maxPos) in xmlXPathIsPositionalPredicate()
13508 (val->floatval == 1.0)) { in xmlXPathCompOpEval()
14406 return(res->floatval == ctxt->proximityPosition); in xmlXPathEvalPredicate()
14446 return((res->floatval == ctxt->context->proximityPosition) && in xmlXPathEvaluatePredicateResult()
14447 (!xmlXPathIsNaN(res->floatval))); /* MSC pbm Mark Vakoc !*/ in xmlXPathEvaluatePredicateResult()
14449 return(res->floatval == ctxt->context->proximityPosition); in xmlXPathEvaluatePredicateResult()