MCQs > IT & Programming > C# > How is Math.Pow() implemented in the .NET Framework?

C# MCQs

How is Math.Pow() implemented in the .NET Framework?

Answer

Correct Answer: Math.Pow operates on type doubles. Doubles are 64-bit floating point and have about 15-16 digits of precision in C#. Func<long, int, long> power = null; power = (i, p) => p == 1 ? i : i*power(i, p - 1); Console.WriteLine(power(15, 14));

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it