1570af302Sopenharmony_ci#include <math.h>
2570af302Sopenharmony_ci
3570af302Sopenharmony_cidouble fabs(double x)
4570af302Sopenharmony_ci{
5570af302Sopenharmony_ci	__asm__ ("fabs %0, %1" : "=d"(x) : "d"(x));
6570af302Sopenharmony_ci	return x;
7570af302Sopenharmony_ci}
8