# LMATH_CONSTANTS (TagTable / global constants)

Overview

### Constant identifier, values and description

Identifier & Value | Description
--- | ---
LMATH_2_PI 6.28318530717958647692528676655900 | Two Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_3_PI 9.4247779607693797 | Three Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_4_PI 12.5663706143591729538505735331180 | Four Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_6_PI 18.8495559215387594 | Six Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_8_PI 25.1327412287183459 | Eighth Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_DAYS_PER_HOUR 0.04166666666666666666666666666667 | Number of days per hour (1/24); used for time related calculations
LMATH_DEGREE_TO_RAD 0.0174532925199432958 | Conversion for degree to radians = π / 180
LMATH_E 2.71828182845904523536028747135266 | Euler's number, the base of the natural logarithm (Napier's constant)
LMATH_E_INV 0.36787944117144232159552377016147 | Inverse Euler's number, the inverse base of the natural logarithm (Napier's constant)
LMATH_EXP_INV_E 1.444667861009766 | Tetration right convergence limit e^(1/e)
LMATH_EXP_MINUS_E 0.06598803584531256 | Tetration left convergence limit e^(-e)
LMATH_FACULTY_00 UDINT#1 | Faculty calculated number of 0
LMATH_FACULTY_01 UDINT#1 | Faculty calculated number of 1
LMATH_FACULTY_02 UDINT#2 | Faculty calculated number of 2
LMATH_FACULTY_03 UDINT#6 | Faculty calculated number of 3
LMATH_FACULTY_04 UDINT#24 | Faculty calculated number of 4
LMATH_FACULTY_05 UDINT#120 | Faculty calculated number of 5
LMATH_FACULTY_06 UDINT#720 | Faculty calculated number of 6
LMATH_FACULTY_07 UDINT#5040 | Faculty calculated number of 7
LMATH_FACULTY_08 UDINT#40320 | Faculty calculated number of 8
LMATH_FACULTY_09 UDINT#362880 | Faculty calculated number of 9
LMATH_FACULTY_10 UDINT#3628800 | Faculty calculated number of 10
LMATH_FACULTY_11 UDINT#39916800 | Faculty calculated number of 11
LMATH_FACULTY_12 UDINT#479001600 | Faculty calculated number of 12
LMATH_HOURS_PER_DAY 24 | Number of hours per day; used for time related calculations
LMATH_HOURS_PER_MINUTE 0.01666666666666666666666666666667 | Number of hours per minute (1/60); used for time related calculations
LMATH_HOURS_PER_YEAR 8760 | Number of hours per year; used for time related calculations
LMATH_LI2 1.04516378011749278484458888919461 | Natural logarithm integral function li(2)
LMATH_LN_PI 1.14472988585 | Natural logarithm of pi
LMATH_LN_SQRT2 0.34657359028 | Natural logarithm of sqrt(2)
LMATH_LN10 2.30258509299404568401799145468440 | Natural logarithm of ten - needed for example for the ten's logarithm conversion / calculation
LMATH_LN2 0.69314718055994530941723212145818 | Natural logarithm of two - needed for example for the binary logarithm conversion / calculation
LMATH_LREAL_INFINITY_NEG 16#FFF0000000000000 | LReal / Double - negative Infinity
LMATH_LREAL_INFINITY_POS 16#7FF0000000000000 | LReal / Double - positive Infinity
LMATH_LREAL_MAX_NORM 16#7FEFFFFFFFFFFFFF | LReal / Double - maximum value in normalized format
LMATH_LREAL_MAX_SUBNORM 16#000FFFFFFFFFFFFF | LReal / Double - maximum value in denormalized format
LMATH_LREAL_MIN_NORM 16#0010000000000000 | LReal / Double - minimum value in normalized format
LMATH_LREAL_MIN_SUBNORM 16#0000000000000001 | LReal / Double - minimum value in denormalized format
LMATH_LREAL_NAN 16#7FF8000000000000 | LReal / Double - NAN - Not A Number
LMATH_MINUTES_PER_HOUR 60 | Number of minutes per hour; used for time related calculations
LMATH_MINUTES_PER_SECOND 0.01666666666666666666666666666667 | Number of minutes per second (1/60); used for time related calculations
LMATH_ONE_EIGHTH_PI 0.039788735772973834 | Eighth part of Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_ONE_HALF_PI 1.57079632679489661923132169163980 | Half Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_ONE_QUARTER_PI 0.78539816339744830961566084581988 | Quarter Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_ONE_SIXTH_PI 0.0530516476972984453 | Sixth Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_ONE_THIRD_PI 0.1061032953945968907 | One-third Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_PHI_GOLDEN_RATIO 1.61803398874989484820458683436563 | Golden ratio is also called the golden mean or golden section (Latin: sectio aurea)
LMATH_PHI_LN_GOLDEN_RATIO 0.48121182505960344749775891342436341 | Natural logarithm of golden ratio is also called the golden mean or golden section (Latin: sectio aurea)
LMATH_PI 3.14159265358979323846264338327950 | Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_PI_INV 0.31830988618379067153776752674503 | Inverse Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_RAD_TO_DEGREE 57.2957795130823209 | Conversion for radians to degrees = 180 / π
LMATH_REAL_INFINITY_NEG 16#FF800000 | Real / Float - negative Infinity
LMATH_REAL_INFINITY_POS 16#7F800000 | Real / Float - positive Infinity
LMATH_REAL_MAX_NORM 16#7F7FFFFF | Real / Float - maximum value in normalized format
LMATH_REAL_MAX_SUBNORM 16#007FFFFF | Real / Float - maximum value in denormalized format
LMATH_REAL_MIN_NORM 16#00800000 | Real / Float - minimum value in normalized format
LMATH_REAL_MIN_SUBNORM 16#00000001 | Real / Float - minimum value in denormalized format
LMATH_REAL_NAN 16#7FC00000 | Real / Float - NAN - Not A Number
LMATH_SECONDS_PER_MINUTE 60 | Number of seconds in a minute; used for time related calculations
LMATH_SQRT_2_PI 2.50662827463100050241576528481104 | Square root of two Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_SQRT_PI 1.77245385090551602729816748334114 | Square root of Pi, the ratio of a circle's circumference to its diameter (Archimedes' constant or Ludolph's number)
LMATH_SQRT2 1.41421356237309504880168872420970 | Square root of 2 (Pythagoras' constant)
LMATH_SQRT2_INV 0.70710678118654752440084436210485 | Inverse square root of 2 (Pythagoras' constant)
LMATH_SQRT3 1.73205080756887729352744634150590 | Square root of 3 (Theodorus' constant)
LMATH_SQRT3_INV 0.57735026918962576450914878050195 | Inverse square root of 3 (Theodorus' constant)
LMATH_SQRT5 2.23606797749978969 | Square root of 5 (This number appears in the fractional expression for the golden ratio)
LMATH_SQRT5_INV 0.4472135954999579386 | Inverse square root of 5 (This number appears in the fractional expression for the golden ratio)
LMATH_YEARS_PER_HOUR 1.1415525114155251141552511415525e-4 | Number of years per hour (1/8760); used for time related calculations