|
| 1 | +# Citrine customized constants input file for Pint, based explicitly on the Pint defaults as |
| 2 | +# included release 0.9 (https://github.com/hgrecco/pint/releases/tag/0.9). The Pint Authors hold |
| 3 | +# copyright and are documented in https://github.com/hgrecco/pint/blob/0.9/AUTHORS. |
| 4 | +# |
| 5 | +# The original copyright statement for the constants file reads: |
| 6 | +# |
| 7 | +# Copyright (c) 2012 by Hernan E. Grecco and contributors. See AUTHORS |
| 8 | +# for more details. |
| 9 | +# |
| 10 | +# Some rights reserved. |
| 11 | +# |
| 12 | +# Redistribution and use in source and binary forms of the software as well |
| 13 | +# as documentation, with or without modification, are permitted provided |
| 14 | +# that the following conditions are met: |
| 15 | +# |
| 16 | +# * Redistributions of source code must retain the above copyright |
| 17 | +# notice, this list of conditions and the following disclaimer. |
| 18 | +# |
| 19 | +# * Redistributions in binary form must reproduce the above |
| 20 | +# copyright notice, this list of conditions and the following |
| 21 | +# disclaimer in the documentation and/or other materials provided |
| 22 | +# with the distribution. |
| 23 | +# |
| 24 | +# * The names of the contributors may not be used to endorse or |
| 25 | +# promote products derived from this software without specific |
| 26 | +# prior written permission. |
| 27 | +# |
| 28 | +# THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
| 29 | +# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT |
| 30 | +# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 31 | +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER |
| 32 | +# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 33 | +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 34 | +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 35 | +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 36 | +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 37 | +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 38 | +# SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
| 39 | +# DAMAGE. |
| 40 | +# |
| 41 | +# |
| 42 | +# Original content, with commenting, follows: |
| 43 | +# |
| 44 | +################################################################################################### |
1 | 45 | # Default Pint constants definition file
|
2 | 46 | # Based on the International System of Units
|
3 | 47 | # Language: english
|
|
9 | 53 | # As computed by Maxima with fpprec:50
|
10 | 54 |
|
11 | 55 | pi = 3.1415926535897932384626433832795028841971693993751 = π # pi
|
| 56 | +# ^^^^^ Uncommented pi definition |
12 | 57 | tansec = 4.8481368111333441675396429478852851658848753880815e-6 # tangent of 1 arc-second ~ arc_second/radian
|
13 | 58 | ln10 = 2.3025850929940456840179914546843642076011014886288 # natural logarithm of 10
|
14 | 59 | wien_x = 4.9651142317442763036987591313228939440555849867973 # solution to (x-5)*exp(x)+5 = 0 => x = W(5/exp(5))+5
|
|
0 commit comments