This implements the sinpif function. An exhaustive test shows it's correct for all rounding modes. Issue: #94895