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