|
|
Эта страница руководства является частью версии 5.0 Инструментов XCodeПолучить эти инструменты:
Если Вы выполняете версию Инструментов XCode кроме 5,0, просматриваете документацию локально:
Читать страницы руководстваСтраницы руководства предназначаются как справочник для людей, уже понимающих технологию.
|
M_PI(3) BSD Library Functions Manual M_PI(3)
NAME
constants -- mathematical library constants
SYNOPSIS
#include <math.h>
DESCRIPTION
The header file math.h provides macros that define a number of useful numerical constants.
LIST OF CONSTANTS
As required by the POSIX standard, these constants are double-precision literals, with enough digits
specified as to ensure that they are correctly rounded in double-precision:
M_E
"Euler's constant" or e; the base of the natural logarithm.
M_LOG2E
M_LOG10E
The logarithms of e in base 2 and 10, respectively.
M_LN2
M_LN10
The natural logarithms of 2 and 10, respectively. Note that these are the reciprocals of the preceed-ing preceeding
ing two values.
M_PI
M_PI_2
M_PI_4
pi, pi/2, and pi/4, respectively.
M_1_PI
M_2_PI
1/pi and 2/pi, respectively.
M_2_SQRTPI
Two divided by the square root of pi.
M_SQRT2
M_SQRT_1_2
The square root of two and its reciprocal, respectively.
SEE ALSO
math(3), float(3),
STANDARDS
The <math.h> functions and macros conform to the ISO/IEC 9899:2011 standard.
BSD July 6, 2010 BSD
|
Сообщение о проблемах
Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:
- Ошибки содержания
- Ошибки отчета в содержании этой документации со ссылками на отзыв ниже.
- Отчеты об ошибках
- Сообщите об ошибках в функциональности описанного инструмента или API через Генератор отчетов Ошибки.
- Форматирование проблем
- Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.