function description isinf(xisnan(xldexp(xilog( [base]return true if is infinity returns true if is nan returns ( *ireturns the logarithm of to the given base if base is omittedthis function computes the natural logarithm returns the base logarithm of returns the natural logarithm of + returns the fractional and integer parts of as tuple both have the same sign as returns * returns the sine of returns the hyperbolic sine of returns the square root of returns the tangent of returns the hyperbolic tangent of truncates to the nearest integer towards log (xlog (xmodf(xpow(xysin(xsinh(xsqrt(xtan(xtanh(xtrunc(xthe following constants are definedconstant description pi mathematical constant pi mathematical constant notes the floating-point values +inf-infand nan can be created by passing strings into the float(function--for examplefloat("inf")float("-inf")or float("nan" the math fsum(function is more accurate than the built-in sum(function because it uses different algorithm that tries to avoid floating-point errors introduced by cancellation effects for exampleconsider the sequence [ - if you use sum( )you will get result of (because the value of is lost when added to the large value howeverusing math sum(sproduces the correct result of the algorithm used by math sum(is described in "adaptive precision floating-point arithmetic and fast robust geometric predicatesby jonathan richard shewchukcarnegie mellon university school of computer science technical report cmu-cs- numbers the numbers module defines series of abstract base classes that serve to organize various kinds of numbers the numeric classes are organized into hierarchy in which each level progressively adds more capabilities lib fl ff