Any math experts know what I'm missing here? [Solved] - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: Any math experts know what I'm missing here? [Solved] (/showthread.php?tid=911) |
RE: Any math experts know what I'm missing here? [Solved] - bplus - 09-26-2022 (09-26-2022, 05:57 PM)Pete Wrote: I do have the decimal places worked out for square roots. I need to either modify it for nth roots, or see if I need to tweak it for square roots, in case I missed something. One I settle on a working method, I'll probably scrap the square root one and just use the nth root routine. Yeah it's posted along with Dec2Bin$ and Bin2Dec$ and I tried to go from Square Roots to any Real Power but too slow and buggy apparently need infinitely long strings of ...sqr(sqr(2)))))) for accuracy. It's just posted in WIP board. RE: Any math experts know what I'm missing here? [Solved] - Pete - 09-26-2022 Yep, I was just there! Pete RE: Any math experts know what I'm missing here? [Solved] - Kernelpanic - 09-26-2022 Quote:Like cube root of 19 to 100 places? I've never dealt with string mathematics, also not even in Basic. But today I managed to separate the decimal part from a number like 14.9978667 (actually 15.0) to reduce and it to the relevant three decimal places. Now I just have to scan them. That will be fine! A question Pete, what do you do with the 1000 decimal places? Hopefully nothing naughty. For those interested in Visual Basic (QB64 is already there): RE: Any math experts know what I'm missing here? [Solved] - Pete - 09-26-2022 I work with the first 16 decimal places... and vacation in the other 984. Pete RE: Any math experts know what I'm missing here? [Solved] - Kernelpanic - 09-26-2022 (09-26-2022, 06:36 PM)Pete Wrote: I work with the first 16 decimal places... and vacation in the other 984. My sincere condolences! |