89 references to Pow
mscorlib (10)
system\globalization\CalendricalCalculationsHelper.cs (3)
161
return ((Math.
Pow
(x, 2) / 41048480) - 15) / SecondsPerDay;
260
- (0.5 * Math.
Pow
(y, 2) * SinOfDegree(4 * lambda))
261
- (1.25 * Math.
Pow
(eccentricity, 2) * SinOfDegree(2 * anomaly)));
system\globalization\datetimeformat.cs (1)
484
fraction = fraction / (long)Math.
Pow
(10, 7 - tokenLen);
system\globalization\datetimeparse.cs (1)
2947
result = ((double)result / Math.
Pow
(10, digitLen));
system\globalization\timespanformat.cs (3)
97
fraction = (int)((long)fraction / (long)Math.
Pow
(10, DateTimeFormat.MaxSecondsFractionDigits - literal.ff));
198
tmp /= (long)Math.
Pow
(10, DateTimeFormat.MaxSecondsFractionDigits - tokenLen);
210
tmp /= (long)Math.
Pow
(10, DateTimeFormat.MaxSecondsFractionDigits - tokenLen);
system\globalization\timespanparse.cs (2)
154
return (num >= (maxValue/(long)Math.
Pow
(10, zeroes-1)));
533
long divisor = (long)Math.
Pow
(10, fraction.zeroes);
PresentationCore (9)
Core\CSharp\System\Windows\Media\Animation\BackEase.cs (1)
47
return Math.
Pow
(normalizedTime, 3.0) - normalizedTime * amp * Math.Sin(Math.PI * normalizedTime);
Core\CSharp\System\Windows\Media\Animation\BounceEase.cs (4)
93
double pow = Math.
Pow
(bounciness, bounces);
112
double startTime = (1.0 - Math.
Pow
(bounciness, start)) / (oneMinusBounciness * sumOfUnits);
113
double endTime = (1.0 - Math.
Pow
(bounciness, end)) / (oneMinusBounciness * sumOfUnits);
119
double amplitude = Math.
Pow
(1.0 / bounciness, (bounces - start));
Core\CSharp\System\Windows\Media\Animation\PowerEase.cs (1)
49
return Math.
Pow
(normalizedTime, power);
Core\CSharp\System\Windows\Media\Color.cs (2)
1063
return (float)Math.
Pow
(((double)val + 0.055) / 1.055, 2.4);
1087
return ((byte)((255.0f * ((1.055f * (float)Math.
Pow
((double)val, (1.0 / 2.4))) - 0.055f)) + 0.5f));
Core\CSharp\System\Windows\Media3D\Quaternion.cs (1)
586
double lengthOut = lengthFrom * Math.
Pow
(lengthTo/lengthFrom, t);
PresentationFramework (9)
src\Framework\MS\Internal\AnimatedTypeHelpers.cs (4)
87
Math.
Pow
(GetSegmentLengthDouble(from.Left, to.Left), 2.0)
88
+ Math.
Pow
(GetSegmentLengthDouble(from.Top, to.Top), 2.0)
89
+ Math.
Pow
(GetSegmentLengthDouble(from.Right, to.Right), 2.0)
90
+ Math.
Pow
(GetSegmentLengthDouble(from.Bottom, to.Bottom), 2.0);
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
1115
textViewProximities[i] = Math.Sqrt(Math.
Pow
(horz, 2) + Math.
Pow
(vert, 2));
src\Framework\System\Windows\Controls\Grid.cs (3)
1845
scale = Math.
Pow
(2.0, power - 4.0); // -4 is just for paranoia
2427
scale = Math.
Pow
(2.0, power - 4.0); // -4 is just for paranoia
2857
double f = Math.
Pow
(2.0, Math.Floor((minPower + maxPower) / 2.0));
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\DesignerGeometryHelper.cs (2)
22
return Math.Sqrt(Math.
Pow
(point2.X - point1.X, 2) + Math.
Pow
(point2.Y - point1.Y, 2));
System.Data (2)
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (2)
1125
dRet /= System.Math.
Pow
(10.0, m_bScale);
3152
n = new SqlDecimal(Math.
Pow
(dBaseNum, exp));
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\NumberFormatter.cs (1)
81
Debug.Assert(Math.
Pow
(totalChars, MaxAlphabeticLength) >= MaxAlphabeticValue);
System.Numerics (2)
System\Numerics\Complex.cs (2)
391
double t = Math.
Pow
(rho, c) * Math.
Pow
(Math.E, -d * theta);
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
456
return isFlags ? (long)Math.
Pow
(2, index) : index;
System.Web.DataVisualization (24)
Common\Annotation\AnnotationBase.cs (8)
2976
newX = Math.
Pow
( horizAxis.logarithmBase, newX );
2979
newAnchorX = Math.
Pow
( horizAxis.logarithmBase, newAnchorX );
2992
newRight = Math.
Pow
( horizAxis.logarithmBase, newRight );
3001
newRight = Math.
Pow
( horizAxis.logarithmBase, newRight );
3019
newY = Math.
Pow
( vertAxis.logarithmBase, newY );
3022
newAnchorY = Math.
Pow
( vertAxis.logarithmBase, newAnchorY );
3035
newBottom = Math.
Pow
( vertAxis.logarithmBase, newBottom );
3044
newBottom = Math.
Pow
( vertAxis.logarithmBase, newBottom );
Common\ChartTypes\ErrorBarChart.cs (2)
1723
errorAmount += Math.
Pow
(point.YValues[0] - mean, 2);
1746
errorAmount += Math.
Pow
(point.YValues[0], 2);
Common\ChartTypes\StackedBarChart.cs (1)
961
yValue = Math.
Pow
( hAxis.logarithmBase, yValue );
Common\ChartTypes\StackedColumnChart.cs (1)
966
yValue = Math.
Pow
( vAxis.logarithmBase, yValue );
Common\Formulas\TimeSeriesAndForecasting.cs (4)
456
mainDeterminant[i][k] += (double)Math.
Pow
( inputValues[0][j], (i+k) );
471
coeffDeterminant[i][k] += (double)inputValues[1][j] * (double)Math.
Pow
( inputValues[0][j], k );
493
outputValues[1][i]+= (double)coefficients[j]*Math.
Pow
(outputValues[0][i],j);
527
outputValues[1][i]= Math.Exp( coefficients[0] ) * Math.
Pow
( outputValues[0][i], coefficients[1] );
Common\General\AxisLabels.cs (2)
604
labValue = Math.
Pow
( this.logarithmBase, labValue );
729
labValue = Math.
Pow
( this.logarithmBase, labValue );
Common\General\AxisScale.cs (5)
658
return Math.
Pow
( this.logarithmBase, GetCrossing() );
1326
double tempDiff = diff / Math.
Pow
( power, step );
1336
return tempDiff * Math.
Pow
( power, step );
1938
viewMaximum = Math.
Pow
( this.logarithmBase, viewMaximum );
1939
viewMinimum = Math.
Pow
( this.logarithmBase, viewMinimum );
Common\General\DataManipulator.cs (1)
2984
Math.
Pow
(series.Points[secondPassIndex].YValues[funcIndex-1] - average, 2);
System.Windows.Forms.DataVisualization (24)
Common\Annotation\AnnotationBase.cs (8)
2976
newX = Math.
Pow
( horizAxis.logarithmBase, newX );
2979
newAnchorX = Math.
Pow
( horizAxis.logarithmBase, newAnchorX );
2992
newRight = Math.
Pow
( horizAxis.logarithmBase, newRight );
3001
newRight = Math.
Pow
( horizAxis.logarithmBase, newRight );
3019
newY = Math.
Pow
( vertAxis.logarithmBase, newY );
3022
newAnchorY = Math.
Pow
( vertAxis.logarithmBase, newAnchorY );
3035
newBottom = Math.
Pow
( vertAxis.logarithmBase, newBottom );
3044
newBottom = Math.
Pow
( vertAxis.logarithmBase, newBottom );
Common\ChartTypes\ErrorBarChart.cs (2)
1723
errorAmount += Math.
Pow
(point.YValues[0] - mean, 2);
1746
errorAmount += Math.
Pow
(point.YValues[0], 2);
Common\ChartTypes\StackedBarChart.cs (1)
961
yValue = Math.
Pow
( hAxis.logarithmBase, yValue );
Common\ChartTypes\StackedColumnChart.cs (1)
966
yValue = Math.
Pow
( vAxis.logarithmBase, yValue );
Common\Formulas\TimeSeriesAndForecasting.cs (4)
456
mainDeterminant[i][k] += (double)Math.
Pow
( inputValues[0][j], (i+k) );
471
coeffDeterminant[i][k] += (double)inputValues[1][j] * (double)Math.
Pow
( inputValues[0][j], k );
493
outputValues[1][i]+= (double)coefficients[j]*Math.
Pow
(outputValues[0][i],j);
527
outputValues[1][i]= Math.Exp( coefficients[0] ) * Math.
Pow
( outputValues[0][i], coefficients[1] );
Common\General\AxisLabels.cs (2)
604
labValue = Math.
Pow
( this.logarithmBase, labValue );
729
labValue = Math.
Pow
( this.logarithmBase, labValue );
Common\General\AxisScale.cs (5)
658
return Math.
Pow
( this.logarithmBase, GetCrossing() );
1326
double tempDiff = diff / Math.
Pow
( power, step );
1336
return tempDiff * Math.
Pow
( power, step );
1938
viewMaximum = Math.
Pow
( this.logarithmBase, viewMaximum );
1939
viewMinimum = Math.
Pow
( this.logarithmBase, viewMinimum );
Common\General\DataManipulator.cs (1)
2984
Math.
Pow
(series.Points[secondPassIndex].YValues[funcIndex-1] - average, 2);
System.Workflow.ComponentModel (5)
AuthoringOM\Design\DesignerHelpers.cs (5)
1939
return Math.Sqrt(Math.
Pow
(area, 2) / (Math.
Pow
((line[1].X - line[0].X), 2) + Math.
Pow
((line[1].Y - line[0].Y), 2)));
1973
double d = Math.Sqrt(Math.
Pow
(point2.X - point1.X, 2) + Math.
Pow
(point2.Y - point1.Y, 2));