mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
asinh_nid_postfix called the host libm's asinh. It now follows the branches and thresholds of FreeBSD msun's s_asinh.c (release/11.4.0): below 2^-28 it returns x, up to |x| = 2 it uses log1p, up to 2^28 log(2|x| + 1/(sqrt(x*x+1)+|x|)) and above that log(|x|) + ln2. Up to |x| = 2 the results are bit-identical to msun; above 2 they depend on the host log this file still uses. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>