pub fn exp10<S: ScalarAd>(x: S) -> S
Primal 10^x.
10^x
use chainrules::exp10; assert!((exp10(2.0_f64) - 100.0).abs() < 1e-12);