5 references to Truncate
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1339public static Half Truncate(Half x) => (Half)MathF.Truncate((float)x);
src\libraries\System.Private.CoreLib\src\System\MathF.cs (2)
407return Truncate(x + CopySign(0.49999997f, x)); 415return Truncate(x);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
1972return (T)(object)MathF.Truncate((float)(object)value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
691public static float Truncate(float x) => MathF.Truncate(x);