0

Какой оператор нужен для кубического корня?

В JavaScript и C+-

27th Apr 2020, 4:23 AM
Suhayli Tuev
Suhayli Tuev - avatar
1 Odpowiedź
+ 2
Use pow(a,b) where a is your number and b is 1/3 For example: pow(27,1/3.0) gives 3 (you need 3.0 to specify float)
27th Apr 2020, 3:47 PM
Uros Zivkovic
Uros Zivkovic - avatar