About 426,000 results
Open links in new tab
  1. fabs, fabsf, fabsl, fabsd32, fabsd64, fabsd128 - cppreference.com

    Dec 20, 2024 · Otherwise, if the argument has integer type, fabs is called. Otherwise, if the argument is complex, then the macro invokes the corresponding complex function (cabsf, …

  2. fabs, fabsf, fabsl | Microsoft Learn

    Jul 28, 2025 · In a C program, unless you're using the <tgmath.h> macro to call this function, fabs always takes and returns a double. If you use the fabs macro from <tgmath.h>, the type of the …

  3. fabs - C++ Users

    Header <tgmath.h> provides a type-generic macro version of this function. Value whose absolute value is returned. The absolute value of x. printf ("The absolute value of 3.1416 is %f\n", fabs …

  4. C Language: fabs function (Absolute Value of Floating-Point …

    In the C Programming Language, the fabs function returns the absolute value of a floating-point number.

  5. C fabs () - C Standard Library - Programiz

    Builders don't just know how to code, they create solutions that matter. The fabs () function returns the absolute value of a number.

  6. C library - fabs () function

    The C math library fabs () function accepts the parameter (x) of type double that returns the absolute value of x. This function is defined under the header <math.h> that calculates the …

  7. fabs () Function in C - GeeksforGeeks

    Jul 23, 2025 · fabs () function of math.h header file in C programming is used to get the absolute value of a floating point number. This function returns the absolute value in double.

  8. std:: abs (float), std:: fabs, std:: fabsf, std:: fabsl - Reference

    Oct 15, 2023 · They only need to be sufficient to ensure that for their argument num of integer type, std::fabs(num) has the same effect as std::fabs(static_cast<double>(num)). The following …

  9. The Tale of Two Fabs: TSMC Arizona Hits Profitability While Intel …

    6 days ago · The Tale of Two Fabs: TSMC Arizona Hits Profitability While Intel Ohio Faces Decade-Long DelayAs 2025 draws to a close, the landscape of American semiconductor …

  10. C Language fabs () Function: Usage, Examples, and Best Practices

    Learn how to use the fabs () function in C to calculate absolute values of floating-point numbers. Includes syntax, practical examples, comparisons with abs () and cabs (), plus best practices …