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