+ 2

What about roots sqare and cubic? Are them operators too?

25th Feb 2018, 10:51 PM
E GonzĂĄlez
E GonzĂĄlez - avatar
3 Answers
+ 3
In languages with ** operator, you can do x ** 0.5 to get the root.
25th Feb 2018, 10:59 PM
Timon Paßlick
+ 15
java have Math.pow () , Math.sqrt () , U can make your own methods also â˜ș
26th Feb 2018, 2:34 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 3
There is no operator for square root, depending on language there might be a function (see sqrt in C): https://www.tutorialspoint.com/c_standard_library/c_function_sqrt.htm
25th Feb 2018, 10:57 PM
Sergiu Panaite
Sergiu Panaite - avatar