Welcome to mirror list, hosted at ThFree Co, Russian Federation.

s_exp2.c « mathfp « libm « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c913b3a22a46a89d30db9e7edd3bddfdc032075e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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
exp2 (double x)
{
  return pow(2.0, x);
}

#endif /* _DOUBLE_IS_32BITS */