def logistic_denominator
import stelliferous@0.0.2.0/math_fp32.bend as MathFp32import Base
29# b=RN(1+q). Recover the small term lost in that sum before adding the
30# reduced exponential. Writing (1-b)+q keeps the eight lanes together under
31# the default vectorizer; q-(b-1) makes it mix unrelated addition trees.
32def logistic_denominator(q: F32,+base: F32,r: F32,correction: F32) -> F32:
33 (base + (r + (correction + ((1.0 - base : F32) + q : F32) : F32) : F32) : F32)