Name : perl-Astro-Constants
| |
Version : 0.1401
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.43
| Date : 2024-08-05 20:41:02
|
Group : Development/Libraries/Perl
| Source RPM : perl-Astro-Constants-0.1401-1.43.src.rpm
|
Size : 0.12 MB
| |
Packager : (none)
| |
Summary : This library provides physical constants for use in Physics and Astronom[cut]
|
Description :
This module provides physical and mathematical constants for use in Astronomy and Astrophysics.
The values are stored in _Physical_Constants.xml_ in the *data* directory and are mostly based on the 2018 CODATA values from NIST.
*NOTE:* Other popular languages are still using _2014_ CODATA values for their constants and may produce different results in comparison. On the roadmap is a set of modules to allow you to specify the year or data set for the values of constants, defaulting to the most recent.
The \':long\' tag imports all the constants in their long name forms (i.e. GRAVITATIONAL). Useful subsets can be imported with these tags: \':fundamental\' \':conversion\' \':mathematics\' \':cosmology\' \':planetary\' \':electromagnetic\' or \':nuclear\'. Alternate names such as LIGHT_SPEED instead of SPEED_LIGHT or HBAR instead of H_BAR are imported with \':alternates\'. I\'d like to move away from their use, but they have been in the module for years. Short forms of the constant names are included to provide backwards compatibility with older versions based on Jeremy Bailin\'s Astroconst library and are available through the import tag \':short\'.
Long name constants are constructed with the constant pragma and are not interpolated in double quotish situations because they are really inlined functions. Short name constants are constructed with the age-old idiom of fiddling with the symbol table using typeglobs, e.g. \'*PI = \\3.14159\', and may be slower than the long name constants.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/openSUSE_Tumbleweed/noarch |