Lines Matching refs:nVal

653     if ( !rComp.bEmpty[0] && rComp.bVal[0] && !::rtl::math::isFinite( rComp.nVal[0]))  in CompareFunc()
654 return rComp.nVal[0]; in CompareFunc()
655 if ( !rComp.bEmpty[1] && rComp.bVal[1] && !::rtl::math::isFinite( rComp.nVal[1])) in CompareFunc()
656 return rComp.nVal[1]; in CompareFunc()
666 if ( !::rtl::math::approxEqual( rComp.nVal[ 1 ], 0.0 ) ) in CompareFunc()
668 if ( rComp.nVal[ 1 ] < 0.0 ) in CompareFunc()
686 if ( !::rtl::math::approxEqual( rComp.nVal[ 0 ], 0.0 ) ) in CompareFunc()
688 if ( rComp.nVal[ 0 ] < 0.0 ) in CompareFunc()
706 if ( !::rtl::math::approxEqual( rComp.nVal[ 0 ], rComp.nVal[ 1 ] ) ) in CompareFunc()
708 if( rComp.nVal[ 0 ] - rComp.nVal[ 1 ] < 0 ) in CompareFunc()
813 aComp.nVal[ i ] = GetDouble(); in Compare()
836 aComp.nVal[ i ] = GetCellValue( aAdr, pCell ); in Compare()
870 aComp.nVal[ i ] = GetDouble(); in CompareMat()
890 aComp.nVal[ i ] = GetCellValue( aAdr, pCell ); in CompareMat()
942 aComp.nVal[i] = pMat[i]->GetDouble(j,k); in CompareMat()
967 aComp.nVal[i] = pMat[i]->GetDouble(j); in CompareMat()
993 PushDouble( rOptions.aQueryEntry.nVal); in QueryMat()
1841 double nVal = GetDouble(); in ScArcCotHyp() local
1842 if (fabs(nVal) <= 1.0) in ScArcCotHyp()
1845 PushDouble(0.5 * log((nVal + 1.0) / (nVal - 1.0))); in ScArcCotHyp()
3146 double nVal = 0.0; in ScMin() local
3156 nVal = GetDouble(); in ScMin()
3157 if (nMin > nVal) nMin = nVal; in ScMin()
3167 nVal = GetCellValue( aAdr, pCell ); in ScMin()
3169 if (nMin > nVal) nMin = nVal; in ScMin()
3184 if (aValIter.GetFirst(nVal, nErr)) in ScMin()
3186 if (nMin > nVal) in ScMin()
3187 nMin = nVal; in ScMin()
3189 while ((nErr == 0) && aValIter.GetNext(nVal, nErr)) in ScMin()
3191 if (nMin > nVal) in ScMin()
3192 nMin = nVal; in ScMin()
3211 nVal = pMat->GetDouble(nMatCol,nMatRow); in ScMin()
3212 if (nMin > nVal) nMin = nVal; in ScMin()
3223 nVal = pMat->GetDouble(nMatCol,nMatRow); in ScMin()
3224 if (nMin > nVal) nMin = nVal; in ScMin()
3254 if ( nVal < nMin ) in ScMin()
3267 double nVal = 0.0; in ScMax() local
3277 nVal = GetDouble(); in ScMax()
3278 if (nMax < nVal) nMax = nVal; in ScMax()
3288 nVal = GetCellValue( aAdr, pCell ); in ScMax()
3290 if (nMax < nVal) nMax = nVal; in ScMax()
3305 if (aValIter.GetFirst(nVal, nErr)) in ScMax()
3307 if (nMax < nVal) in ScMax()
3308 nMax = nVal; in ScMax()
3310 while ((nErr == 0) && aValIter.GetNext(nVal, nErr)) in ScMax()
3312 if (nMax < nVal) in ScMax()
3313 nMax = nVal; in ScMax()
3332 nVal = pMat->GetDouble(nMatCol,nMatRow); in ScMax()
3333 if (nMax < nVal) nMax = nVal; in ScMax()
3344 nVal = pMat->GetDouble(nMatCol,nMatRow); in ScMax()
3345 if (nMax < nVal) nMax = nVal; in ScMax()
3375 if ( nVal > nMax ) in ScMax()
3855 double nVal; in ScVar() local
3857 GetStVarParams( nVal, nValCount, bTextAsZero ); in ScVar()
3862 PushDouble( nVal / (nValCount - 1.0)); in ScVar()
3869 double nVal; in ScVarP() local
3871 GetStVarParams( nVal, nValCount, bTextAsZero ); in ScVarP()
3873 PushDouble( div( nVal, nValCount)); in ScVarP()
3880 double nVal; in ScStDev() local
3882 GetStVarParams( nVal, nValCount, bTextAsZero ); in ScStDev()
3886 PushDouble( sqrt( nVal / (nValCount - 1.0))); in ScStDev()
3893 double nVal; in ScStDevP() local
3895 GetStVarParams( nVal, nValCount, bTextAsZero ); in ScStDevP()
3899 PushDouble( sqrt( nVal / nValCount)); in ScStDevP()
3924 sal_uLong nVal = 0; in ScColumns() local
3937 nVal++; in ScColumns()
3941 nVal += static_cast<sal_uLong>(nTab2 - nTab1 + 1) * in ScColumns()
3951 nVal += nC; in ScColumns()
3960 PushDouble((double)nVal); in ScColumns()
3968 sal_uLong nVal = 0; in ScRows() local
3981 nVal++; in ScRows()
3985 nVal += static_cast<sal_uLong>(nTab2 - nTab1 + 1) * in ScRows()
3995 nVal += nR; in ScRows()
4004 PushDouble((double)nVal); in ScRows()
4011 sal_uLong nVal; in ScTables() local
4013 nVal = pDok->GetTableCount(); in ScTables()
4016 nVal = 0; in ScTables()
4029 nVal++; in ScTables()
4033 nVal += static_cast<sal_uLong>(nTab2 - nTab1 + 1); in ScTables()
4037 nVal++; in ScTables()
4045 PushDouble( (double) nVal ); in ScTables()
4055 double nVal = 0; in ScColumn() local
4058 nVal = aPos.Col() + 1; in ScColumn()
4068 pResMat->PutDouble( nVal + i, static_cast<SCSIZE>(i), 0); in ScColumn()
4084 nVal = (double) (nCol1 + 1); in ScColumn()
4109 nVal = 0.0; in ScColumn()
4112 nVal = (double) (nCol1 + 1); in ScColumn()
4117 nVal = 0.0; in ScColumn()
4120 PushDouble( nVal ); in ScColumn()
4131 double nVal = 0; in ScRow() local
4134 nVal = aPos.Row() + 1; in ScRow()
4144 pResMat->PutDouble( nVal + i, 0, static_cast<SCSIZE>(i)); in ScRow()
4160 nVal = (double) (nRow1 + 1); in ScRow()
4185 nVal = 0.0; in ScRow()
4188 nVal = (double) (nRow1 + 1); in ScRow()
4193 nVal = 0.0; in ScRow()
4196 PushDouble( nVal ); in ScRow()
4206 SCTAB nVal = 0; in ScTable() local
4208 nVal = aPos.Tab() + 1; in ScTable()
4216 if ( pDok->GetTable( aStr, nVal ) ) in ScTable()
4217 ++nVal; in ScTable()
4228 nVal = nTab1 + 1; in ScTable()
4240 nVal = nTab1 + 1; in ScTable()
4247 nVal = 0; in ScTable()
4249 PushDouble( (double) nVal ); in ScTable()
4275 const double nVal2 = rEntry.nVal; in lcl_CompareMatrix2Query()
4302 double nVal = rMat.GetDouble(rIndex); in lcl_GetLastMatch() local
4305 nVal == rMat.GetDouble(rIndex-1)) in lcl_GetLastMatch()
4309 nVal == rMat.GetDouble(rIndex+1)) in lcl_GetLastMatch()
4414 rEntry.nVal = fVal; in ScMatch()
4438 rEntry.nVal = fVal; in ScMatch()
4451 rEntry.nVal, *rEntry.pStr); in ScMatch()
4876 rEntry.nVal = fVal; in IterateParametersIf()
4885 *rEntry.pStr, nIndex, rEntry.nVal)); in IterateParametersIf()
5171 rEntry.nVal = fVal; in ScCountIf()
5180 *rEntry.pStr, nIndex, rEntry.nVal)); in ScCountIf()
5402 rEntry.nVal = fVal; in IterateParametersIfs()
5411 *rEntry.pStr, nIndex, rEntry.nVal)); in IterateParametersIfs()
5804 bFound = (fDataVal <= rEntry.nVal); in ScLookup()
6320 … if ((HLookup ? pMat->GetDouble(i,0) : pMat->GetDouble(0,i)) <= rEntry.nVal) in CalculateLookup()
6333 … if ((HLookup ? pMat->GetDouble(i,0) : pMat->GetDouble(0,i)) == rEntry.nVal) in CalculateLookup()
6413 rEntry.nVal = GetDouble(); in FillEntry()
6436 rEntry.nVal = GetCellValue( aAdr, pCell ); in FillEntry()
6443 rEntry.nVal = 0.0; in FillEntry()
6457 const ScMatValType nType = GetDoubleOrStringFromMatrix(rEntry.nVal, *rEntry.pStr); in FillEntry()
6509 double nVal = GetDouble(); in ScSubTotal() local
6511 PushDouble( nVal ); in ScSubTotal()
6532 double nVal = 0.0; in GetDBParams() local
6539 nVal = ::rtl::math::approxFloor( GetDouble() ); in GetDBParams()
6540 if ( bAllowMissingField && nVal == 0.0 ) in GetDBParams()
6553 nVal = GetCellValue( aAdr, pCell ); in GetDBParams()
6606 nField = pDBRef->findFieldColumn(static_cast<SCCOL>(nVal)); in GetDBParams()
6636 *rEntry.pStr, nIndex, rEntry.nVal ); in GetDBParams()
7767 double nVal = ::rtl::math::approxFloor(GetDouble()); in ScLeft() local
7768 if ( nVal < 0.0 || nVal > STRING_MAXLEN ) in ScLeft()
7774 n = (xub_StrLen) nVal; in ScLeft()
7874 double nVal = ::rtl::math::approxFloor(GetDouble()); in ScRightB() local
7875 if ( nVal < 0.0 || nVal > STRING_MAXLEN ) in ScRightB()
7881 n = (xub_StrLen) nVal; in ScRightB()
7924 double nVal = ::rtl::math::approxFloor(GetDouble()); in ScLeftB() local
7925 if ( nVal < 0.0 || nVal > STRING_MAXLEN ) in ScLeftB()
7931 n = (xub_StrLen) nVal; in ScLeftB()
7970 double nVal = ::rtl::math::approxFloor(GetDouble()); in ScRight() local
7971 if ( nVal < 0.0 || nVal > STRING_MAXLEN ) in ScRight()
7977 n = (xub_StrLen) nVal; in ScRight()