diff options
Diffstat (limited to 'newlib/libm/mathfp/sf_exp2.c')
-rw-r--r-- | newlib/libm/mathfp/sf_exp2.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/newlib/libm/mathfp/sf_exp2.c b/newlib/libm/mathfp/sf_exp2.c deleted file mode 100644 index 7e147c5..0000000 --- a/newlib/libm/mathfp/sf_exp2.c +++ /dev/null @@ -1,23 +0,0 @@ -/* 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" - -float -_DEFUN (exp2f, (float), - float x) -{ - return powf(2.0, x); -} - -#ifdef _DOUBLE_IS_32BITS - -double exp2 (double x) -{ - return (double) exp2f ((float) x); -} - -#endif /* _DOUBLE_IS_32BITS */ |