The following constants define the precision and range of floating-point arithmetic in LAL. They are taken from the IEEE standard 754 for binary arithmetic. All numbers are dimensionless.
| Name | Value | Description |
| LAL_REAL4_MANT | 24 | Bits in REAL4 mantissa |
| LAL_REAL4_MAX |
|
Largest REAL4 |
| LAL_REAL4_MIN |
|
Smallest positive REAL4 |
| LAL_REAL4_EPS |
|
|
| LAL_REAL8_MANT | 53 | Bits in REAL8 mantissa |
| LAL_REAL8_MAX |
|
Largest REAL8 |
| LAL_REAL8_MIN |
|
Smallest positive REAL8 |
| LAL_REAL8_EPS |
|
|
LAL_REAL4_EPS and LAL_REAL8_EPS can be thought
of as the difference between 1 and the next representable REAL4
or REAL8 number.
The following are fundamental mathematical constants. They are mostly
taken from the GNU C math.h header (with the exception of
LAL_TWOPI, which was computed using Maple). All numbers are
dimensionless.
| Name | Value | Expression |
| LAL_E | 2.7182818284590452353602874713526625 | |
| LAL_LOG2E | 1.4426950408889634073599246810018922 | |
| LAL_LOG10E | 0.4342944819032518276511289189166051 | |
| LAL_LN2 | 0.6931471805599453094172321214581766 | |
| LAL_LN10 | 2.3025850929940456840179914546843642 | |
| LAL_SQRT2 | 1.4142135623730950488016887242096981 | |
| LAL_SQRT1_2 | 0.7071067811865475244008443621048490 | |
| LAL_GAMMA | 0.5772156649015328606065120900824024 | |
| LAL_PI | 3.1415926535897932384626433832795029 | |
| LAL_TWOPI | 6.2831853071795864769252867665590058 | |
| LAL_PI_2 | 1.5707963267948966192313216916397514 | |
| LAL_PI_4 | 0.7853981633974483096156608458198757 | |
| LAL_1_PI | 0.3183098861837906715377675267450287 | |
| LAL_2_PI | 0.6366197723675813430755350534900574 | |
| LAL_2_SQRTPI | 1.1283791670955125738961589031215452 | |
| LAL_PI_180 | 1.7453292519943295769236907684886127 |
|
| LAL_180_PI | 57.295779513082320876798154814105170 |