# pext_u64(ulong, ulong)

> Extract bits from unsigned 64-bit integer a at the corresponding bit locations specified by mask to contiguous low bits in dst; the remaining upper bits in dst are set to zero.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Burst.Intrinsics](/engine/6000.7/script-reference/unity/burst/intrinsics.md)
* **Assembly:** UnityEngine.BurstModule

```csharp
public static ulong pext_u64(ulong a, ulong mask)
```

### Parameters

**** (\[ulong]\(https\://learn.microsoft.com/dotnet/api/system.uint64)): 64-bit integer**** (\[ulong]\(https\://learn.microsoft.com/dotnet/api/system.uint64)): Mask

### Returns

| Type                                                          | Description    |
| ------------------------------------------------------------- | -------------- |
| [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) | 64-bit integer |

### Remarks

\_\_\_\_ pext r64, r64, r64
