本文介绍了计算数字的第n个根的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何编写函数来计算数字的第n个根;我是b / b
厌倦了使用带有小数指数的pow()来完成这项工作。有关于如何做到这一点的任何想法?b $ b想法?感谢您的帮助!!!
How do I write a function to calculate the nth root of a number; I''m
sick of using pow() with a fractional exponent to do the job. Got any
ideas on how to do this? Thanks for the help!!!
推荐答案
这篇关于计算数字的第n个根的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!