w_log2.c 279 B

1234567891011121314
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * Copyright (C) 2008 by Bernhard Reutner-Fischer <uclibc@uclibc.org>
  4. *
  5. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. */
  7. #include <math.h>
  8. #include "math_private.h"
  9. double log2(double d)
  10. {
  11. return __ieee754_log2(d);
  12. }