summaryrefslogtreecommitdiff
path: root/libm/w_log2.c
blob: 7b1a1b18d4cf7804dfcba4bc949462046f549fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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);
}