In fact, it can generally be a complex number with both a "real" part that's an ordinary number and an "imaginary" part that's multiplied by the square root of one.
事实上,它通常是一个复数的形式,包括普通数字的实数部分和需要乘以负一的平方根的虚部。
You also send a fault response if someone requests the square root of a negative number.
如果有人请求负数的平方根,也将发送错误响应。
List methods are convenient for these types of manipulations, but a side-effect of my algorithm is a duplicate entry when a whole-number square root pops up.
List方法对于这些类型操作很方便,但我的算法有个副作用,就是出现整数平方根时,会有重复。
应用推荐