Retro68/gcc/newlib/libm/mathfp/s_exp2.c

18 lines
334 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
#include "fdlibm.h"
#ifndef _DOUBLE_IS_32BITS
double
2018-12-28 15:30:48 +00:00
exp2 (double x)
2017-04-11 21:13:36 +00:00
{
return pow(2.0, x);
}
#endif /* _DOUBLE_IS_32BITS */