def tanh_remainder
import stelliferous@0.0.2.0/math_fp32.bend as MathFp32import Base
99# One additional term for the expm1 correction in the tanh quotient.
100def tanh_remainder(+r: F32) -> F32:
101 ((((((0.00019890980911441147 * r + 0.0013933641603216529 : F32) * r + 0.00833331048488617 : F32) * r + 0.04166646674275398 : F32) * r + 0.1666666716337204 : F32) * r + 0.5 : F32) * (r * r : F32) : F32)