JWS C Library
C language utility library
constants.h File Reference

Exact and approximate mathematical constants. More...

Go to the source code of this file.

Defines

#define JWSC_PI_8   0.39269908169872f
 Pi/8.
#define JWSC_PI_4   0.78539816339744f
 Pi/4.
#define JWSC_PI_2   1.57079632679488f
 Pi/2.
#define JWSC_PI   3.14159265358979f
 Pi.
#define JWSC_2_PI   6.28318530717958f
 2*Pi.
#define JWSC_DEG_TO_RAD   0.01745329251994
 Scalar to convert degrees to radians.
#define JWSC_RAD_TO_DEG   57.29577951308232
 Scalar to convert radians to degrees.

Detailed Description

Exact and approximate mathematical constants.

Author:
Joseph Schlecht
License:
Creative Commons BY-NC-SA 3.0

This file should be replaced by an autoconf test that sets a -D define in the config.h.

Definition in file constants.h.


Define Documentation

#define JWSC_PI_8   0.39269908169872f

Pi/8.

Definition at line 54 of file constants.h.

#define JWSC_PI_4   0.78539816339744f

Pi/4.

Definition at line 58 of file constants.h.

#define JWSC_PI_2   1.57079632679488f

Pi/2.

Definition at line 62 of file constants.h.

#define JWSC_PI   3.14159265358979f

Pi.

Definition at line 66 of file constants.h.

#define JWSC_2_PI   6.28318530717958f

2*Pi.

Definition at line 70 of file constants.h.

#define JWSC_DEG_TO_RAD   0.01745329251994

Scalar to convert degrees to radians.

Definition at line 74 of file constants.h.

#define JWSC_RAD_TO_DEG   57.29577951308232

Scalar to convert radians to degrees.

Definition at line 78 of file constants.h.