...compile the lib for an ESP32.. The (excellent) Windows 11 calculator is based...
OK, I take that back, the Windows calculator isn't that great. Just type in 45 tan log Instead of 0, you'll get a wild result. Another example is √2.25 - 1.5 In addition to these precision and rounding issues, I also had to fix some bugs and memory leaks in ratpak. Each non-integer big factorial calculation consumed about 600 bytes of the ESP32's memory. This might not be important if you deal with gigabytes of RAM on Windows, but with a MC, every kilobyte counts. With the latest firmware, the memory now finally seems to remain stable and 45 [tan] [log] works as expected... newxito schrieb am Dienstag, 18. März 2025 um 01:06:52 UTC+1: Sorry, no kit but I will upload all the files to github. I'm currrently working on other projects, so I will need some time. I also want to rewrite the calc engine because today, after making some code changes in Microsoft's ratpak, I was able to compile the lib for an ESP32.. The (excellent) Windows 11 calculator is based on ratpak. It's code from the 1990s licensed under the MIT license. Initial tests are very promising. You may think that this is overkill but small inaccuracies in the calculations drive me crazy. For example: 1.0000000000001 ^ 999 Using the C/C++ pow function or Excel you will get 1.00000000009982 WolframAlpha and the Windows calculator both return 1.00000000009990 -- You received this message because you are subscribed to the Google Groups "neonixie-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/87bba0f3-6c78-4e89-936b-c1c7e31b0531n%40googlegroups.com.
