i think go with what generic maths is using, the BCL team (tanner) have made these decisions for a r
i think go with what generic maths is using, the BCL team (tanner) have made these decisions for a reason
return (T) (object) (sbyte) (float) Math.Sqrt((float) (sbyte) (object) x); its not optimized - but should work finereturn (T)(object)(sbyte)(float)Sse.SqrtScalar(Vector128.CreateScalarUnsafe((float)(sbyte)(object)x)).ToScalar();MATHF preprocessor define that is used in some places)return (T) (object) (sbyte) (float) Math.Sqrt((float) (sbyte) (object) x);return (T)(object)(sbyte)(float)Sse.SqrtScalar(Vector128.CreateScalarUnsafe((float)(sbyte)(object)x)).ToScalar();