Open MrUnbelievable92 opened 11 months ago
horrendous code gen
hides NaNs which would otherwise be easily caught while debugging
propagates throughout the entire Unity.Mathematics.math library
Unity.Mathematics.math
... while breaking the rule of NaN propagation
checking for NaN does neither comply to IEEE754, nor any native SIMD instruction sets, nor any C/C++ library - not even UnityEngine.Mathf
NaN
UnityEngine.Mathf
if we want to copy HLSL 1:1, at least flush denormals to zero and make it even more expensive ;)
horrendous code gen
hides NaNs which would otherwise be easily caught while debugging
propagates throughout the entire
Unity.Mathematics.math
library... while breaking the rule of NaN propagation
checking for
NaN
does neither comply to IEEE754, nor any native SIMD instruction sets, nor any C/C++ library - not evenUnityEngine.Mathf
if we want to copy HLSL 1:1, at least flush denormals to zero and make it even more expensive ;)