

Returns the largest integer value less than or equal to x. Returns the smallest integer value greater than or equal to x. The returned value is the fraction component (part after the decimal), and sets integer to the integer component. Returns the common logarithm (base-10 logarithm) of x. Returns the natural logarithm (base-e logarithm) of x. Returns x multiplied by 2 raised to the power of exponent. The resultant value is x = mantissa * 2 ^ exponent. The returned value is the mantissa and the integer pointed to by exponent is the exponent. Returns the value of e raised to the xth power. Returns the arc tangent in radians of y/x based on the signs of both values to determine the correct quadrant. In this case, errno might or might not be set to ERANGE.įollowing are the functions defined in the header math.h − Sr.No.

If the magnitude of the result is too small, a value of zero is returned instead. cprintf - Formats values and writes them directly to the console. If magnitude of the correct result is too large to be represented, the function sets errno to ERANGE to indicate a range error, and returns a particular, very large value named by the macro HUGE_VAL or its negation (- HUGE_VAL). This macro is used when the result of a function may not be representable as a floating point number. There is only one macro defined in this library − Sr.No. All the functions available in this library take double as an argument and return double as the result. The math.h header defines various mathematical functions and one macro. Restart or Close your IDE and open it again.This project presents clone of the Borland Turbo C / C ++ or Embarcadero C ++ library ' conio ' for the GCC compiler, more precisely for the C ++ language in Windows, Linux and Mac OS operating systems. Just copy file and paste file conio.h on /usr/include/ but don't forget before you want copy paste on /usr/include/ you must open folder as ADMINISTRATOR first !! Step 1 : Lib CONIO (conioam.h) GCC C++ Library CONIO GCC C++ for Windows e Linux (POSIX) New version 24. getch - Get char entry from the console.cprintf - Formats values and writes them directly to the console.cputs - Writes a string directly to the console.putch - Writes a character directly to the console.

