# half

> Constructs a half value from a half value.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Mathematics](/engine/6000.5/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## half(half)

Constructs a half value from a half value.

```csharp
public half(half x)
```

### Parameters

**** (\[half]\(/engine/6000.5/script-reference/unity/mathematics/half)): The input half value to copy.

## half(float)

Constructs a half value from a float value.

```csharp
public half(float v)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The single precision float value to convert to half.

## half(double)

Constructs a half value from a double value.

```csharp
public half(double v)
```

### Parameters

**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): The double precision float value to convert to half.
