• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #if !defined(__mips_soft_float) && defined(__mips_abs2008)
2 
3 #include <math.h>
4 
fabs(double x)5 double fabs(double x)
6 {
7 	double r;
8 	__asm__("abs.d %0,%1" : "=f"(r) : "f"(x));
9 	return r;
10 }
11 
12 #else
13 
14 #include "../fabs.c"
15 
16 #endif
17