tanf() can be modified according to a bugfix in tan()

2019-09-06 Thread Angela Zhang
The calculation of tanf() which lies in src/lib/libm/src/k_tanf.c can be modified according to a bugfix ported on FreeBSD on GitHub: https://github.com/freebsd/freebsd/commit/152a4c4166c18974fe1fc9d9a8535d78956aca26    And here's the code: - if(ix<0x3180)    /* x < 2**-28 */ -         {if((in

tanf() can be modified according to a bugfix in tan()

2019-07-15 Thread 张Angela
Hi! I think the calculation of tanf() which lies in *src/lib/libm/src/k_tanf.c* can be modified according to a bugfix ported on FreeBSD on GitHub: https://github.com/freebsd/freebsd/commit/152a4c4166c18974fe1fc9d9a8535d78956aca26 And here's the code: - if(ix<0x3180)/* x < 2**-28 */ -