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

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