- تاریخ ثبتنام
- 2020-06-06
- ارسالیها
- 2,945
- راهحلها
- 1
- پسندها
- 153
- امتیازها
- 63
- مدالها
- 7
- نویسنده موضوع
- مدیرکل
- #1
hi
i have written the following piece of code:
B4X:
i used the "big numbers" library to get some accurate results
at the end the program logs pi squared, and i need to square-root it accurately, but with the core options in b4x i don't think that's possible.
i tried using the same "big numbers" library to do that but it seems that it doesn't have a sqrt function
i even tried using "pow" in that library which is the equivalent of power in core, i thought i could take it to the power of 0.5 which should be the equivalent of sqrt, but "pow" only accepts integers as an input and 0.5 is...
i have written the following piece of code:
B4X:
i used the "big numbers" library to get some accurate results
at the end the program logs pi squared, and i need to square-root it accurately, but with the core options in b4x i don't think that's possible.
i tried using the same "big numbers" library to do that but it seems that it doesn't have a sqrt function
i even tried using "pow" in that library which is the equivalent of power in core, i thought i could take it to the power of 0.5 which should be the equivalent of sqrt, but "pow" only accepts integers as an input and 0.5 is...
نام موضوع : how do i sqrt accurately?
|
دسته : b4xfeed