math this is collection of topics that are at somewhat mathematical in naturethough many of them are of general interest the math module as mentioned in section the math module contains some common math functions here are most of themfunction description sincostan trig functions asinacosatan inverse trig functions atan ( ,xgives arctany/xwith proper sign behavior sinhcoshtanh hyperbolic functions asinhacoshatanh inverse hyperbolic functions loglog natural loglog base log log( + )more accurate near than log exp exponential function degreesradians convert from radians to degrees or vice-versa floor floor(xis the greatest integer < ceil ceil(xis the least integer > epi the constants and factorial factorial modf returns pair (fractional partinteger partgammaerf the function and the error function