micropython maths lib?
-
We've run into trouble with a line-of-best-fit equation on the gpy. Regular python gives y=999.97 for x=420
>>> x=420 >>> 236123330.633392+-3683284.06273057*x+23906.7876866458*x**2+-82.646351259391*x**3+0.160502156282077*x**4+-0.000166027946373191*x**5+0.0000000714703479619462*x**6 999.9718719124794but the gpy returns 352
>>> x=420 >>> 236123330.633392+-3683284.06273057*x+23906.7876866458*x**2+-82.646351259391*x**3+0.160502156282077*x**4+-0.000166027946373191*x**5+0.0000000714703479619462*x**6 352.0Wondering if anybody knows a good maths package for micropython or some other workaround?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login