clog10f(3)

clog10f3

Base-10 logarithm of a complex number

Part of clog10(3).

Usage

#define _GNU_SOURCE         /* See feature_test_macros(7) */
#include <complex.h>

double complex clog10(double complex z); float complex clog10f(float complex z); long double complex clog10l(long double complex z);

Library

Math library (libm, -lm)

Overview

The call clog10(z) is equivalent to:

clog(z)/log(10)

or equally:

log10(cabs(c)) + I * carg(c) / log(10)

The other functions perform the same task for float and long double.

Note that z close to zero will cause an overflow.

Attributes

For an explanation of the terms used in this section, see attributes(7).

InterfaceAttributeValue
clog10(), clog10f(), clog10l()Thread safetyMT-Safe

Releases

12 releases since Debian 3.1 (Sarge); the text changed 11 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13
  12. Arch

Standards

GNU.

History

glibc 2.1.

The identifiers are reserved for future use in C99 and C11.

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