## modf() in C/C++

In C++, modf() is a predefined function used for mathematical calculations. math.h is the header file required for various mathematical functions. All the functions available… Read More »

## isgreaterequal() in C/C++

In C++, isgreaterequal() is a predefined function used for mathematical calculations. math.h is the header file required for various mathematical functions. isgreaterequal() function used to… Read More »

## fmax() and fmin() in C++

fmax() and fmin() functions are defined in cmath header file. fmax() function: The syntax of this function is: double fmax (double x, double y); float… Read More »

## Number of ordered points pair satisfying line equation

Given an array of n integers, slope of a line i. e., m and the intercept of the line i.e c, Count the number of… Read More »

## fabs() in C++

The fabs() function returns the absolute value of the argument. Mathematically |a|. If a is value given in the argument. Syntax: double fabs(double a); float… Read More »

## asin() and atan() functions in C/C++ with Example

In C++, asin() and atan() is a predefined function used for mathematical calculations. math.h is the header file required for various mathematical functions. All the… Read More »

## std::cbrt() in C++

The std::cbrt() is an inbuilt function in C++ STL which is used to calculate the cube root of number. It accepts a number as argument… Read More »

## sqrt, sqrtl and sqrtf in C++

The cmath header defines two more inbuilt functions for calculating square root of a number (apart from sqrt which takes double as an arguement) which… Read More »

## <numeric> library in C++ STL

Common mathematical functions std::fabs: This function returns the absolute value. std::sqrt: This function returns the square root std::sin: This function returns the sine measured in… Read More »

## trunc() , truncf() , truncl() in C language

All three functions are used to remove digits after decimal point and return the modified decimal number. trunc() : Truncates a double value after the… Read More »

## C Library math.h functions

The math.h header defines various mathematical functions and one macro. All the functions available in this library take double as an argument and return double… Read More »

## erf | Error functions using cmath in C++

In mathematics, the error function (also called the Gauss error function) is a special function (non-elementary) of sigmoid shape that occurs in probability, statistics, and… Read More »

## Ceil and Floor functions in C++

In mathematics and computer science, the floor and ceiling functions map a real number to the greatest preceding or the least succeeding integer, respectively. floor(x)… Read More »

## C++ Floating Point Manipulation (fmod(), remainder(), remquo() … in cmath)

Like integers, C++11 introduced some basic inbuilt functions for handling simple mathematical computations of floating point numbers necessary for day to day programming as well… Read More »