correct handling of integer values for sinpi, as per IEEE-754 2008