Giovanni Mascellani (@giomasce) commented about tests/log.shader_test:
+[pixel shader] +uniform float4 x;
+float4 main() : sv_target +{
- return log2(x);
+}
+[test] +uniform 0 float4 2.0 4.0 5.0 0.4
Please, also test outside of the domain of definition (i.e., zero and negative numbers).