decimal: fix ln hang on values between ~ 0.9 and 1.1
Turns out decNumberLn hangs when result is subnormal, according to the current context settings. To fix this, reset minimal allowed exponent to a smaller value during the ln operation and round the result afterwards. Follow-up 6d62c6c1
Loading
Please register or sign in to comment