shithub: npe

ref: 7b724339b6807d81776861191cdb5ac933f2641c
dir: /libnpe/exp2.c/

View raw version
#include <math.h>

#define ln2o1 1.4426950408889634073599

double
exp2(double x)
{
	return exp(x/ln2o1);
}