Skip to main content
Spec, not man page. Improve formatting
Source Link
Toby Speight
  • 32.3k
  • 58
  • 83
  • 118

From the Posix man pagePOSIX specification of math.h<math.h>:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 

The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type.

  • M_PI Value of πœ‹
  • M_PI_2 Value of πœ‹/2
  • M_PI_4 Value of πœ‹/4
  • M_1_PI Value of 1/πœ‹
  • M_2_PI Value of 2/πœ‹
  • M_2_SQRTPI Value of 2/βˆšπœ‹

From the Posix man page of math.h:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 

From the POSIX specification of <math.h>:

The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type.

  • M_PI Value of πœ‹
  • M_PI_2 Value of πœ‹/2
  • M_PI_4 Value of πœ‹/4
  • M_1_PI Value of 1/πœ‹
  • M_2_PI Value of 2/πœ‹
  • M_2_SQRTPI Value of 2/βˆšπœ‹
Updated dead link
Source Link
जलजनक
  • 3.1k
  • 2
  • 26
  • 30

From the Posix man page of math.hPosix man page of math.h:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 

From the Posix man page of math.h:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 

From the Posix man page of math.h:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 

From the Posix man page of math.hPosix man page of math.h:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 

From the Posix man page of math.h:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 

From the Posix man page of math.h:

 The <math.h> header shall provide for the following constants. The values are of type double and are accurate within the precision of the double type. M_PI Value of pi M_PI_2 Value of pi/2 M_PI_4 Value of pi/4 M_1_PI Value of 1/pi M_2_PI Value of 2/pi M_2_SQRTPI Value of 2/ sqrt pi 
Linked source code for math.h on the linux.die.net man page website.
Source Link
Loading
Source Link
Joakim
  • 421
  • 4
  • 3
Loading