6 references to Truncate
Aspire.Hosting.Kubernetes (1)
KubernetesManifestResource.cs (1)
169if (MathF.Truncate(value) == value)
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1375public static Half Truncate(Half x) => (Half)MathF.Truncate((float)x);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MathF.cs (2)
405return Truncate(x + CopySign(0.49999997f, x)); 413return Truncate(x);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
1985return (T)(object)MathF.Truncate((float)(object)value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
687public static float Truncate(float x) => MathF.Truncate(x);