Skip to content

Commit

Permalink
Add Planck Temperature to Constants (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
suleyman-kaya authored Jul 28, 2024
1 parent 05590e5 commit 69b72e4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions consts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ consts.mksa_plancks_constant_hbar

Planck's constant divided by `2\pi`, `\hbar`.

```console
consts.mksa_planck_temperature
```

Planck temperature `T_p`.

```console
consts.num_avogadro
```
Expand Down
2 changes: 2 additions & 0 deletions consts/cgs.v
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pub const cgs_plancks_constant_h = 6.62606896e-27 // g cm^2 / s

pub const cgs_plancks_constant_hbar = 1.05457162825e-27 // g cm^2 / s

pub const cgs_planck_temperature = 1.416785e+32 // Kelvin

pub const cgs_astronomical_unit = 1.49597870691e+13 // cm

pub const cgs_light_year = 9.46053620707e+17 // cm
Expand Down
2 changes: 2 additions & 0 deletions consts/cgsm.v
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pub const cgsm_plancks_constant_h = 6.62606896e-27 // g cm^2 / s

pub const cgsm_plancks_constant_hbar = 1.05457162825e-27 // g cm^2 / s

pub const cgsm_planck_temperature = 1.416785e+32 // Kelvin

pub const cgsm_astronomical_unit = 1.49597870691e+13 // cm

pub const cgsm_light_year = 9.46053620707e+17 // cm
Expand Down
2 changes: 2 additions & 0 deletions consts/mks.v
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pub const mks_plancks_constant_h = 6.62606896e-34 // kg m^2 / s

pub const mks_plancks_constant_hbar = 1.05457162825e-34 // kg m^2 / s

pub const mks_planck_temperature = 1.416785e+32 // Kelvin

pub const mks_astronomical_unit = 1.49597870691e+11 // m

pub const mks_light_year = 9.46053620707e+15 // m
Expand Down
2 changes: 2 additions & 0 deletions consts/mksa.v
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pub const mksa_plancks_constant_h = 6.62606896e-34 // kg m^2 / s

pub const mksa_plancks_constant_hbar = 1.05457162825e-34 // kg m^2 / s

pub const mksa_planck_temperature = 1.416785e+32 // Kelvin

pub const mksa_astronomical_unit = 1.49597870691e+11 // m

pub const mksa_light_year = 9.46053620707e+15 // m
Expand Down

0 comments on commit 69b72e4

Please sign in to comment.