+ 2

# hi. what's a difference between math.pow() and math.exp()?

2 Answers

+ 1

hai..
the math.pow in c# can be use for calculating power
for example
int []arr={4,1,3};
DOUBLE Y=math.pow (arr [0],2];//which calculate the arr [0]=4^2=16

0

Math.Pow execution is twice faster :)