Marcel-Rodekamp / NSL

Nanosystem Simulation Library (NSL) implements statistical simulations for systems on the nanoscale
Other
2 stars 0 forks source link

Feature/tensor trig tests #90

Closed evanberkowitz closed 2 years ago

evanberkowitz commented 2 years ago

Some tests for Tensor.{exp,cos,sin,tan,cosh,sinh,tanh}.

Marcel-Rodekamp commented 2 years ago

The std::numbers::pi is double precision, see here. It would be better to use std::numbers::pi_v<typename RT_extractor<Type>::type>