math: fix logb(-0.0) in downward rounding mode
use -1/(x*x) instead of -1/(x+0) to return -inf, -0+0 is -0 in downward rounding mode
Showing
想要评论请 注册 或 登录
use -1/(x*x) instead of -1/(x+0) to return -inf, -0+0 is -0 in downward rounding mode