- Jun 6, 2020
- 11,576
- 4,480
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:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
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...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید