---
name: "rt_use_fp"
section: "3"
platform: "linux"
package: "rtlinux"
version: "2.0rel-1"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/rt_use_fp/3"
---

# rt\_use\_fp(3)

allow use of floating-point operations in a real-time task

## NAME

rt\_use\_fp - allow use of floating-point operations in a real-time task

## WARNING

This is RTL v1.x compatibility function. Please do not use it for new programs.

## SYNOPSIS

```
#define MODULE
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/errno.h>
#include <linux/rt_sched.h>
```

**void rt\_use\_fp(int** *allow***);**

## DESCRIPTION

**rt\_use\_fp** allows or disallows the use of floating-point arithmetic operations in a real-time task. *allow* is zero to disallow floating-point operations, or non-zero to allow them.

## RETURN VALUE

None.

## ERRORS

None.

## SEE ALSO

[**rt\_task\_delete**(3)](/rt_task_delete/3.md), [**rt\_task\_init**(3)](/rt_task_init/3.md), [**rt\_task\_make\_periodic**(3)](/rt_task_make_periodic/3.md), [**rt\_task\_suspend**(3)](/rt_task_suspend/3.md), [**rt\_task\_wait**(3)](/rt_task_wait/3.md)
