Half.IsPow2(Half) Method

Definition

Determines if a value is a power of two.

public static bool IsPow2 (Half value);

Parameters

value
Half

The value to be checked.

Returns

true if value is a power of two; otherwise, false.

Implements

Applies to

产品 版本
.NET 7, 8, 9