getP SEE: getP @param val automatically generated
(double val)
nothing calls this directly
no test coverage detected