1 /* sf_exp10.c -- float version of s_exp10.c. 2 * Modification of sf_exp2.c by Yaakov Selkowitz 2007. 3 */ 4 5 /* 6 * ==================================================== 7 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 8 * 9 * Developed at SunPro, a Sun Microsystems, Inc. business. 10 * Permission to use, copy, modify, and distribute this 11 * software is freely granted, provided that this notice 12 * is preserved. 13 * ==================================================== 14 */ 15 16 /* 17 * wrapper exp10f(x) 18 */ 19 20 #define _GNU_SOURCE 21 #undef exp10f 22 #include "fdlibm.h" 23 #include <errno.h> 24 #include <math.h> 25 exp10f(float x)26float exp10f(float x) /* wrapper exp10f */ 27 { 28 return _powf(10.0, x); 29 } 30 31 _MATH_ALIAS_f_f(exp10) 32