1 /* sf_pow10.c -- float version of s_pow10.c. 2 * Modification of sf_pow10.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 pow10f(x) 18 */ 19 20 #define _GNU_SOURCE 21 #undef pow10f 22 #include "fdlibm.h" 23 #include <errno.h> 24 #include <math.h> 25 26 float pow10f(float x)27pow10f(float x) /* wrapper pow10f */ 28 { 29 return _powf(10.0, x); 30 } 31 32 #undef pow10 33 #undef pow10l 34 35 _MATH_ALIAS_f_f(pow10) 36