HIVE-6327: A few mathematic functions don't take decimal input (reviewed by Jason Dere)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1564476 13f79535-47bb-0310-9956-ffa450edef68