# Asin(float)

> Returns the arc-sine of f - the angle in radians whose sine is f.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static float Asin(float f)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Value to compute the arc-sine for, in the range \[-1,1].

### Returns

| Type                                                          | Description                                                          |
| ------------------------------------------------------------- | -------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | Angle in radians whose sine equals `f`, in the range \[-Pi/2, Pi/2]. |

### Remarks

For values of `f` outside of the \[-1,1] range, this function will return NaN.

Additional Resources: [Mathf.Sin](/engine/6000.5/script-reference/unityengine/mathf/sin.md).

### Examples

```csharp
using UnityEngine;

public class ScriptExample : MonoBehaviour
{
    void Start()
    {
        // Prints NaN
        Debug.Log(Mathf.Asin(-1.0000001f));
        // Prints -1.570796
        Debug.Log(Mathf.Asin(-1));
        // Prints 0
        Debug.Log(Mathf.Asin(0));
        // Prints 1.570796
        Debug.Log(Mathf.Asin(1));
        // Prints NaN
        Debug.Log(Mathf.Asin(1.0000001f));
    }
}
```
