feat: add Plank's constant 'h'
This commit is contained in:
parent
48a1da47fb
commit
2b7884e802
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ impl Node {
|
|||
"c" => Self::Number(Float::with_val(PREC, 299_792_458)),
|
||||
"A" => Self::Number(Float::with_val(PREC, 6.02214076e23)),
|
||||
"pi" => Self::Number(Float::with_val(PREC, f64::consts::PI)),
|
||||
// Planck's constant, in J*s (joule-seconds)
|
||||
"h" => Self::Number(Float::with_val(PREC, 6.62607015e-34)),
|
||||
_ => Self::Function(s.parse()?),
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue