UIntPtr.Max(UIntPtr, UIntPtr) 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将两个值与更大的计算进行比较。
public:
 static UIntPtr Max(UIntPtr x, UIntPtr y) = System::Numerics::INumber<UIntPtr>::Max;public static UIntPtr Max(UIntPtr x, UIntPtr y);static member Max : unativeint * unativeint -> unativeintPublic Shared Function Max (x As UIntPtr, y As UIntPtr) As UIntPtr参数
- x
- 
				
				UIntPtr
unativeint 
要与 y进行比较的值。
- y
- 
				
				UIntPtr
unativeint 
要与 x进行比较的值。
返回
unativeint
              x 如果大于 y,则为 ;否则为 y。
实现
注解
对于 IFloatingPoint<TSelf> 此方法,与 IEEE 754:2019 maximum 函数匹配。 这要求将 NaN 输入传播回调用方,并 -0.0 被视为小于 +0.0。