Back to index

glibc  2.9
Functions
s_fabsf.c File Reference
#include <math.h>

Go to the source code of this file.

Functions

float __fabsf (float x)

Function Documentation

float __fabsf ( float  x)

Definition at line 23 of file s_fabsf.c.

{
#if __GNUC_PREREQ (2, 8)
  return __builtin_fabsf (x);
#else
  __asm ("cpys $f31, %1, %0" : "=f" (x) : "f" (x));
  return x;
#endif
}