1 /* @(#)s_exp10.c 5.1 93/09/24 */
2 /* Modified from s_exp2.c by Yaakov Selkowitz 2007. */
5 * ====================================================
6 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
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
12 * ====================================================
17 <<exp10>>, <<exp10f>>---exponential, base 10
25 double exp10(double <[x]>);
26 float exp10f(float <[x]>);
29 <<exp10>> and <<exp10f>> calculate 10 ^ <[x]>, that is,
31 10 raised to the power <[x]>.
38 On success, <<exp10>> and <<exp10f>> return the calculated value.
39 If the result underflows, the returned value is <<0>>. If the
40 result overflows, the returned value is <<HUGE_VAL>>. In
41 either case, <<errno>> is set to <<ERANGE>>.
44 <<exp10>> and <<exp10f>> are GNU extensions.
57 #ifndef _DOUBLE_IS_32BITS
60 double exp10(double x
) /* wrapper exp10 */
62 double exp10(x
) /* wrapper exp10 */
69 #endif /* defined(_DOUBLE_IS_32BITS) */