-- @/lua/common/mathlib.lua:1259 function median4(a,b,c,d) return ((a+b+c+d)-max(a,b,c,d)-min(a,b,c,d))*0.5 end