---
name: "fixed"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/fixed"
---

# fixed(3alleg)

Fixed point integer to replace floats. Allegro game programming library.

## NAME

fixed - Fixed point integer to replace floats. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**typedef long fixed**

## DESCRIPTION

This is a fixed point integer which can replace float with similar results and is faster than float on low end machines. Read chapter "Fixed point math routines" for the full explanation.

## SEE ALSO

, [**ex12bit**(3alleg)](/ex12bit/3alleg.md), [**ex3buf**(3alleg)](/ex3buf/3alleg.md), [**ex3d**(3alleg)](/ex3d/3alleg.md), [**excustom**(3alleg)](/excustom/3alleg.md), [**exfixed**(3alleg)](/exfixed/3alleg.md), [**exspline**(3alleg)](/exspline/3alleg.md), [**exsprite**(3alleg)](/exsprite/3alleg.md), [**exstars**(3alleg)](/exstars/3alleg.md), [**exupdate**(3alleg)](/exupdate/3alleg.md)
