Lines Matching refs:dval
121 m_exprValue->u.dval = d; in AstExpression()
205 if (ev->u.dval < SAL_MIN_INT16 || ev->u.dval > SAL_MAX_INT16) in coerce_value()
207 ev->u.sval = (sal_Int16)ev->u.dval; in coerce_value()
264 if (ev->u.dval < 0.0 || ev->u.dval > SAL_MAX_UINT16) in coerce_value()
266 ev->u.usval = (sal_uInt16)ev->u.dval; in coerce_value()
319 if (ev->u.dval < SAL_MIN_INT32 || ev->u.dval > SAL_MAX_INT32) in coerce_value()
321 ev->u.lval = (sal_Int32)ev->u.dval; in coerce_value()
376 if (ev->u.dval < 0.0 || ev->u.dval > SAL_MAX_UINT32) in coerce_value()
378 ev->u.ulval = (sal_uInt32)ev->u.dval; in coerce_value()
427 if (ev->u.dval < SAL_MIN_INT64 || ev->u.dval > SAL_MAX_INT64) in coerce_value()
429 ev->u.hval = (sal_Int64)ev->u.dval; in coerce_value()
482 if (ev->u.dval < 0.0 || ev->u.dval > SAL_MAX_UINT64) in coerce_value()
484 ev->u.uhval = (sal_uInt64)ev->u.dval; in coerce_value()
529 ev->u.bval = (ev->u.dval == 0.0) ? sal_False : sal_True; in coerce_value()
576 if ((float)ev->u.dval > FLT_MAX || (float)ev->u.dval < -FLT_MAX) in coerce_value()
578 ev->u.fval = (float)ev->u.dval; in coerce_value()
593 ev->u.dval = (double)ev->u.sval; in coerce_value()
597 ev->u.dval = (double)ev->u.usval; in coerce_value()
601 ev->u.dval = (double)ev->u.lval; in coerce_value()
605 ev->u.dval = (double)ev->u.ulval; in coerce_value()
609 ev->u.dval = (double)ev->u.hval; in coerce_value()
613 if ((double)ev->u.dval > FLT_MAX || (double)ev->u.dval < -FLT_MAX) in coerce_value()
615 ev->u.dval = (double)ev->u.ulval; in coerce_value()
619 ev->u.dval = (ev->u.bval == sal_True) ? 1.0 : 0.0; in coerce_value()
623 ev->u.dval = (double)ev->u.fval; in coerce_value()
629 ev->u.dval = (double)ev->u.byval; in coerce_value()
686 if (ev->u.dval < SAL_MIN_INT8 || ev->u.dval > SAL_MAX_UINT8) in coerce_value()
688 ev->u.byval = (sal_uChar) ev->u.dval; in coerce_value()
773 copy->u.dval = m_exprValue->u.dval; in coerce()
825 return (m_exprValue->u.dval == pExpr->getExprValue()->u.dval) ? sal_True : sal_False; in operator ==()
865 return (m_exprValue->u.dval == pExpr->getExprValue()->u.dval) ? sal_True : sal_False; in compare()
961 retval->u.dval = m_subExpr1->getExprValue()->u.dval + m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
964 retval->u.dval = m_subExpr1->getExprValue()->u.dval - m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
967 retval->u.dval = m_subExpr1->getExprValue()->u.dval * m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
970 if (m_subExpr2->getExprValue()->u.dval == 0.0) in eval_bin_op()
972 retval->u.dval = m_subExpr1->getExprValue()->u.dval / m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
1147 return OString::valueOf(m_exprValue->u.dval); in toString()