def U8.saturating_add
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
816def U8.saturating_add(a: U8, b: U8) -> U8:
817 match a b:
818 case U8{x} U8{y}:
819 U8{U32.min(U32.add(x, y), 255)}
Uses (3)
Used by (0)
No other definition uses this definition.