float_t(3type)

float_t3type

Most efficient floating types

Part of double_t(3type).

Usage

#include <math.h>

typedef /* ... */ float_t; typedef /* ... */ double_t;

Library

Math library (libm)

Overview

The implementation's most efficient floating types at least as wide as float and double respectively. Their type depends on the value of the macro FLT_EVAL_METHOD (defined in <float.h>):

FLT_EVAL_METHODfloat_tdouble_t
0floatdouble
1doubledouble
2long doublelong double

For other values of FLT_EVAL_METHOD, the types of float_t and double_t are implementation-defined.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Standards

C11, POSIX.1-2024.

History

C99, POSIX.1-2001.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.