---
name: "rt_use_fp"
section: "2"
platform: "linux"
package: "rtlinux-doc"
version: "1.0-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/rt_use_fp"
---

# rt\_use\_fp(2)

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

## 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**(2)](/rt_task_delete/2.md), [**rt\_task\_init**(2)](/rt_task_init/2.md), [**rt\_task\_make\_periodic**(2)](/rt_task_make_periodic/2.md), [**rt\_task\_suspend**(2)](/rt_task_suspend/2.md), [**rt\_task\_wait**(2)](/rt_task_wait/2.md)

## AUTHOR

This manual page was written by Jerry Epplin.

Copyright (C) 1997 Jerry Epplin, placed under the GNU General Public License, see the file copyright for details.
