def Short.go
import bend-kit-fmt@0.1.0.0/fmt.bend as Fmtimport Base
441def Short.go(inf: Bool, zero: Bool, +neg: Bool, +ex: U32, +mant: U32) ->
442 String:
443 match inf:
444 case True{}:
445 Short.special(U32.is_zero(mant), neg)
446 case False{}:
447 match zero:
448 case True{}:
449 Short.sign(neg, "0.0")
450 case False{}:
451 Short.sign(neg, Short.finite(ex, mant))