logb

Defined in header <math.h> float logbf( float arg ); (1) (since C99) double logb( double arg ); (2) (since C99) long double logbl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define logb( arg ) (4) (since C99) 1-3) Extracts the value of the unbiased radix-independent exponent from the floating-point argument arg, and returns it as a floating-point value. 4) Type-generic macros: If arg has type long double, lo

log10

Defined in header <math.h> float log10f( float arg ); (1) (since C99) double log10( double arg ); (2) long double log10l( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define log10( arg ) (4) (since C99) 1-3) Computes the common (base-10) logarithm of arg. 4) Type-generic macro: If arg has type long double, log10l is called. Otherwise, if arg has integer type or the type double, log10 is called. Otherwise, log10

log1p

Defined in header <math.h> float log1pf( float arg ); (1) (since C99) double log1p( double arg ); (2) (since C99) long double log1pl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define log1p( arg ) (4) (since C99) 1-3) Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression log(1+arg) if arg is close to zero. 4) Type-generic macro: If arg has type long double, log1pl

log

Defined in header <math.h> float logf( float arg ); (1) (since C99) double log( double arg ); (2) long double logl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define log( arg ) (4) (since C99) 1-3) Computes the natural (base e) logarithm of arg. 4) Type-generic macro: If arg has type long double, logl is called. Otherwise, if arg has integer type or the type double, log is called. Otherwise, logf is called. I

log2

Defined in header <math.h> float log2f( float arg ); (1) (since C99) double log2( double arg ); (2) (since C99) long double log2l( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define log2( arg ) (4) (since C99) 1-3) Computes the base 2 logarithm of arg. 4) Type-generic macro: If arg has type long double, log2l is called. Otherwise, if arg has integer type or the type double, log2 is called. Otherwise, log2f is

localeconv

Defined in header <locale.h> lconv* localeconv(); The localeconv function obtains a pointer to a static object of type lconv, which represents numeric and monetary formatting rules of the current C locale. Parameters (none). Return value pointer to the current lconv object. Notes Modifying the object references through the returned pointer is undefined behavior. localeconv modifies a static object, calling it from different threads without synchronization is undefi

localtime

Defined in header <time.h> struct tm *localtime( const time_t *time ); (1) struct tm *localtime_s(const time_t *restrict time, struct tm *restrict result); (2) (since C11) 1) Converts given time since epoch (a time_t value pointed to by time) into calendar time, expressed in local time, in the struct tm format. The result is stored in static storage and a pointer to that static storage is returned. 2) Same as (1), except that the function uses user-provided storage

Localization support

Defined in header <locale.h> setlocale gets and sets the current C locale (function) localeconv queries numeric and monetary formatting details of the current locale (function) lconv formatting details, returned by localeconv (struct) Locale categories LC_ALLLC_COLLATELC_CTYPELC_MONETARYLC_NUMERICLC_TIME locale categories for setlocale (macro constant) References C11 standard (ISO/IEC 9899:2011): 7.11 Localization <locale.h> (p: 223-230) 7.31.6

ldexp

Defined in header <math.h> float ldexpf( float arg, int exp ); (1) (since C99) double ldexp( double arg, int exp ); (2) long double ldexpl( long double arg, int exp ); (3) (since C99) Defined in header <tgmath.h> #define ldexp( arg, exp ) (4) (since C99) 1-3) Multiplies a floating point value arg by the number 2 raised to the exp power. 4) Type-generic macro: If arg has type long double, ldexpl is called. Otherwise, if arg has int

LC_ALL

Defined in header <locale.h> #define LC_ALL /*implementation defined*/ #define LC_COLLATE /*implementation defined*/ #define LC_CTYPE /*implementation defined*/ #define LC_MONETARY /*implementation defined*/ #define LC_NUMERIC /*implementation defined*/ #define LC_TIME /*implementation defined*/ Each of the above macro constants expand to integer constant expressions with distinct values that are suitable for use as the first argu