Definition at line 228 of file MathF.cs.
229 {
230 if (float.IsNaN(x))
231 {
232 return x;
233 }
234 if (float.IsNaN(y))
235 {
236 return y;
237 }
238 if (y == 1f)
239 {
240 return float.NaN;
241 }
242 if (x != 1f && (y == 0f || float.IsPositiveInfinity(y)))
243 {
244 return float.NaN;
245 }
247 }
static float Log(float x)
References System.MathF.Log().