1 /* s_fabsf.c -- float version of s_fabs.c. 2 */ 3 4 /* 5 * ==================================================== 6 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 7 * 8 * Developed at SunPro, a Sun Microsystems, Inc. business. 9 * Permission to use, copy, modify, and distribute this 10 * software is freely granted, provided that this notice 11 * is preserved. 12 * ==================================================== 13 */ 14 15 #if defined(LIBM_SCCS) && !defined(lint) 16 static char rcsid[] = "$NetBSD: s_fabsf.c,v 1.4 1995/05/10 20:47:15 jtc Exp $"; 17 #endif 18 19 /* 20 * fabsf(x) returns the absolute value of x. 21 */ 22 23 #include <math.h> 24 #include <libm-alias-float.h> 25 __fabsf(float x)26float __fabsf(float x) 27 { 28 return __builtin_fabsf (x); 29 } 30 libm_alias_float (__fabs, fabs) 31