Skip to content

Commit c6a7816

Browse files
pkarashchenkoxiaoxiang781216
authored andcommitted
libs/libm/libm: increase number of 'log' iterations before epsilon relaxation
Signed-off-by: Petro Karashchenko <[email protected]>
1 parent 02b1e89 commit c6a7816

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/libm/libm/lib_log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* todo: might need to adjust the double floating point version too.
4747
*/
4848

49-
#define LOG_MAX_ITER 10
49+
#define LOG_MAX_ITER 400
5050
#define LOG_RELAX_MULTIPLIER 2.0
5151

5252
/****************************************************************************

libs/libm/libm/lib_logf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* todo: might need to adjust the double floating point version too.
4444
*/
4545

46-
#define LOGF_MAX_ITER 10
46+
#define LOGF_MAX_ITER 400
4747
#define LOGF_RELAX_MULTIPLIER 2.0F
4848

4949
/****************************************************************************

0 commit comments

Comments
 (0)