hpr2bey function

bond-equivalent yield (BEY), 2 x the semiannual discount rate