b+ String Math Update
#2
So this converts binary to decimal and checks conversion back. Since it uses string math, what was your reason for limiting to 100-digits?

As far as powers go. Easy to do integers. A batch to do decimals by approximation methods. You would need some either documented rounding formulas to straighten them out or a take-forever checking / approximation method to iron out the dependencies. Since powers and roots are inversely related, I'm considering using my nth root calculator as a way to do decimal powers.

Side note: I think we are about even up on line numbers to accomplish this stuff. So for anyone who thinks string math is "simple" and could be done in one or two hundred lines of code, guess again.

Pete
Reply


Messages In This Thread
b+ String Math Update - by bplus - 09-26-2022, 06:01 PM
RE: b+ String Math Update - by Pete - 09-26-2022, 06:27 PM
RE: b+ String Math Update - by bplus - 09-26-2022, 06:38 PM
RE: b+ String Math Update - by Pete - 09-26-2022, 06:53 PM
RE: b+ String Math Update - by vince - 09-29-2022, 03:16 AM
RE: b+ String Math Update - by bplus - 09-29-2022, 09:26 AM
RE: b+ String Math Update - by Pete - 09-29-2022, 07:59 PM
RE: b+ String Math Update - by bplus - 10-01-2022, 05:22 PM
RE: b+ String Math Update - by bplus - 10-01-2022, 05:30 PM
RE: b+ String Math Update - by Pete - 10-01-2022, 06:09 PM
RE: b+ String Math Update - by bplus - 10-01-2022, 06:45 PM
RE: b+ String Math Update - by bplus - 10-02-2022, 01:49 AM



Users browsing this thread: 3 Guest(s)