diff options
Diffstat (limited to 'libm/w_log2.c')
-rw-r--r-- | libm/w_log2.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libm/w_log2.c b/libm/w_log2.c new file mode 100644 index 000000000..ec274f761 --- /dev/null +++ b/libm/w_log2.c @@ -0,0 +1,14 @@ +/* vi: set sw=4 ts=4: */ +/* + * Copyright (C) 2008 by Bernhard Reutner-Fischer <uclibc@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ +#include <math.h> +#include "math_private.h" + +double log2 (double d) +{ + return __ieee754_log2 (d); +} +libm_hidden_def(log2) |