def scale
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
185# max(|xa|, |ya|), which a sweep computes once.
186def scale(+xa: F32, +ya: F32) -> F32:
187 F32.max(F32.abs(xa), F32.abs(ya))
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
185# max(|xa|, |ya|), which a sweep computes once.
186def scale(+xa: F32, +ya: F32) -> F32:
187 F32.max(F32.abs(xa), F32.abs(ya))