prevented using boost::math::constants::pi<float>() ot work with older boost version