Package pygeodesy :: Module interns |
[frames] | no frames]

# Module interns

Single-instance `float`s and `str`ings, `intern`'ed across modules.

Version: 21.08.18

Functions
machine() Return the `platform.machine` string, distinguishing Intel from emulating Intel on Apple Silicon (on macOS). |

Variables
| PI = `3.14159265359`
| NN = `''`
| MANT_DIG = `53`
| DIG = `15`
| EPS = `2.22044604925e-16`
| MAN_DIG = `53`
| MAX = `1.79769313486e+308`
| MIN = `2.22507385851e-308`
| EPS2 = `4.4408920985e-16`
| EPS4 = `8.881784197e-16`
| EPS_2 = `1.11022302463e-16`
| EPS1 = `1.0`
| EPS1_2 = `1.0`
| EPS0 = `4.93038065763e-32`
| EPS02 = `2.43086534291e-63`
| INF = `inf`
| NAN = `nan`
| NEG0 = `-0.0`
| PI2 = `6.28318530718`
| PI3 = `9.42477796077`
| PI3_2 = `4.71238898038`
| PI4 = `12.5663706144`
| PI_2 = `1.57079632679`
| PI_4 = `0.785398163397`
| MANTIS = `53`

Function Details

### machine() |
Return the `platform.machine` string, distinguishing Intel from emulating Intel on Apple Silicon (on macOS). Returns: Machine `'arm64'` for Apple Silicon, `"arm64_x86_64""` for Intel emulated, `'x86_64'` for Intel, etc. (`str` with any `comma`s by `underscore`).