const TANH_SPLIT: f64 = 0.3125;
tanh below it uses exp_m1(2a), above it exp(−2a).
tanh
exp_m1(2a)
exp(−2a)