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