blob: e00277abf0dbad587dc541d84f3a40e62969384f [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*
2 * ====================================================
3 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
4 *
5 * Developed at SunPro, a Sun Microsystems, Inc. business.
6 * Permission to use, copy, modify, and distribute this
7 * software is freely granted, provided that this notice
8 * is preserved.
9 * ====================================================
10 */
11
12#include "math.h"
13#include "math_private.h"
14
15double exp2(double x)
16{
17 return pow(2.0, x);
18}
19libm_hidden_def(exp2)