SPRESENSE 2e80d5e38e libs/libc/math: Fix calculation error of log function
Fix a problem where the log function would loop infinitely by
calculation error when a specific value was passed. For example,
in the following case, the log function loops infinitely and
never returns. So, this commit fixes to return the right value.

  double a = 7883961.5;
  double b = log(a);
2021-07-10 12:28:34 -07:00
..
2021-04-02 11:12:25 -05:00
2021-04-02 11:12:25 -05:00
2021-04-02 11:12:25 -05:00
2021-04-02 11:12:25 -05:00
2020-08-14 07:27:55 -05:00
2021-04-02 11:12:25 -05:00
2020-01-02 10:54:43 -06:00
2020-01-02 10:54:43 -06:00
2021-04-02 11:12:25 -05:00
2019-02-27 08:41:08 -06:00
2021-04-03 04:20:31 -07:00
2021-04-03 04:20:31 -07:00
2021-04-03 04:20:31 -07:00
2021-04-02 11:12:25 -05:00
2021-04-02 11:12:25 -05:00
2020-01-07 09:06:02 -06:00
2020-01-07 09:06:02 -06:00
2020-01-07 09:06:02 -06:00
2020-01-02 10:54:43 -06:00
2020-01-02 10:54:43 -06:00
2021-04-02 11:12:25 -05:00