inline fn generic_fabs(x: anytype) @TypeOf(x)
inline fn generic_fabs(x: anytype) @TypeOf(x) { const T = @TypeOf(x); const TBits = @Int(.unsigned, @typeInfo(T).float.bits); const float_bits: TBits = @bitCast(x); const remove_sign = ~@as(TBits, 0) >> 1; return @bitCast(float_bits & remove_sign); }