ALLEGRO_PI(3)

ALLEGRO_PI3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
#define ALLEGRO_PI        3.14159265358979323846

Overview

C99 compilers have no predefined value like M_PI for the constant π, but you can use this one instead.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.