# Tag Archives: cpp-math

Given an array arr[] and an integer K, the task is to find the absolute difference between the ceil of the total sum of theâ€¦ Read More
What is arc tangent? The arctangent is the inverse of the tangent function. It returns the angle whose tangent is the given number. catan() isâ€¦ Read More
The function log2() of cmath header file in C++ is used to find the logarithmic value with base 2 of the passed argument. Syntax: log2(x)â€¦ Read More
The tgamma() function is defined in header math.h header in C and cmath library in C++. This function is used to compute the gamma functionâ€¦ Read More
The fpclassify() function are defined in header math.h header in C and cmath library in C++. This function is used to get the value ofâ€¦ Read More
The greatest Integer Function [X] indicates an integral part of the real number which is the nearest and smaller integer to . It is also known asâ€¦ Read More
C++ being superset of C, supports large number of useful mathematical functions. These functions are available in standard C++ and C to support various mathematicalâ€¦ Read More
The cauchy_distribution::a() function is an inbuilt function in C++ STL which is used to returns the distribution parameter associated with Cauchy distribution. The class cauchy_distributionâ€¦ Read More
The conj() function is defined in the complex header file. This function is used to find the conjugate of the complex number z. If weâ€¦ Read More
Given a number N, the task is to find No. of perfect Squares and perfect Cubes from 1 to a given integer, N ( Bothâ€¦ Read More
This function is defined in header randomRandom. Negative binomial distribution is Random number distribution that produces integers according to a negative binomial discrete distribution (alsoâ€¦ Read More
The exp2() is a builtin function in C++ STL that computes the base-2 exponential function of a given number. It can also be written asâ€¦ Read More
The ilogb(x) function in C++ STL returns the integral part of the logarithm of |x|, by using the FLT_RADIX as base for the logarithm. Inâ€¦ Read More
The logb() is a builtin function in C++ STL which returns the logarithm of |x|, using FLT_RADIX as base for the logarithm. In general, theâ€¦ Read More
The lldiv() is a builtin function in C++ STL which gives us the quotient and remainder of the division of two numbers. Syntax: lldiv(n, d)â€¦ Read More