Welcome to mirror list, hosted at ThFree Co, Russian Federation.

log2.c « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4f14f2614f2a58c7f426f80c7f81feae837964b1 (plain)
1
2
3
4
5
6
7
8
#include <math.h>
double
log2 (double _x)
{
  double retval;
  __asm__ ("fyl2x;" : "=t" (retval) : "0" (_x), "u" (1.0L) : "st(1)");
  return retval;
}