ESP8266 Developer Zone The Official ESP8266 Forum 2018-05-25T14:12:16+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=9107 2018-05-25T14:12:16+08:00 2018-05-25T14:12:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9107&p=20558#p20558 <![CDATA[about using math]]> Statistics: Posted by andreysnug — Fri May 25, 2018 2:12 pm


]]>
2018-05-15T23:59:29+08:00 2018-05-15T23:59:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9107&p=20414#p20414 <![CDATA[Re: about using math]]>
https://bbs.espressif.com/viewtopic.php?f=7&t=9432

Statistics: Posted by Pato — Tue May 15, 2018 11:59 pm


]]>
2018-03-24T01:02:12+08:00 2018-03-24T01:02:12+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9107&p=19740#p19740 <![CDATA[Re: about using math]]>
@AgentSmithers: Indeed a kind of last resort solution would be to re-write the math functions (e.g. with Taylors series approximations, it's in the idea of what you proposed :) )

@tinhaode: did you managed to fin a solution ? I'm also trying to experiment with math functions, but I got linker errors. Maybe try using the limirom.a from the RTOS_SDK, it seemed to work for some folks...
https://bbs.espressif.com/viewtopic.php ... math#p3215
(failed with same error for me. I use a custom toolchain inspired from esp-open-sdk)

Statistics: Posted by Pato — Sat Mar 24, 2018 1:02 am


]]>
2018-02-09T00:37:52+08:00 2018-02-09T00:37:52+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9107&p=19365#p19365 <![CDATA[Re: about using math]]>
tinhaode wrote:
sorry I can't open the url. could you copy some word?


What math functions would you like, How fast do they need to be?

Functions like Sin I think is 1 = x^2 + y^2 so I think if you take an argument you just do 1 - (arg)^2 = Value then SquareRoot that I think. Sorry I took trig like a year ago and it's already gone XD

Statistics: Posted by AgentSmithers — Fri Feb 09, 2018 12:37 am


]]>
2018-02-05T09:11:18+08:00 2018-02-05T09:11:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9107&p=19323#p19323 <![CDATA[Re: about using math]]> Statistics: Posted by tinhaode — Mon Feb 05, 2018 9:11 am


]]>
2018-02-01T08:20:46+08:00 2018-02-01T08:20:46+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9107&p=19242#p19242 <![CDATA[Re: about using math]]> http://moishelettvin.blogspot.com/2005/ ... posed.html

Indirectly it may relate to your question.

Statistics: Posted by AgentSmithers — Thu Feb 01, 2018 8:20 am


]]>
2018-01-31T10:16:07+08:00 2018-01-31T10:16:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9107&p=19231#p19231 <![CDATA[about using math]]> I would like to use some of math related function calls like pow, sin, sqrt...
But it seems math function doesn't work with SDK.
Either #include<math.h> on user_main or -lm on the Linker doesn't work too.
Do you have any idea to work them out?

Statistics: Posted by tinhaode — Wed Jan 31, 2018 10:16 am


]]>