--- /dev/null
+#include <sysdeps/../math/w_log2f.c>
--- /dev/null
+#include <sysdeps/../math/w_logf.c>
--- /dev/null
+#include <sysdeps/../math/w_powf.c>
#include <math.h>
#include <stdint.h>
+#include <shlib-compat.h>
#include "math_config.h"
/*
#define OFF 0x3f330000
float
-__ieee754_log2f (float x)
+__log2f (float x)
{
/* double_t for better performance on targets with FLT_EVAL_METHOD==2. */
double_t z, r, r2, p, y, y0, invc, logc;
y = y * r2 + p;
return (float) y;
}
-strong_alias (__ieee754_log2f, __log2f_finite)
+#ifndef __log2f
+strong_alias (__log2f, __ieee754_log2f)
+strong_alias (__log2f, __log2f_finite)
+versioned_symbol (libm, __log2f, log2f, GLIBC_2_27);
+#endif
#include <math.h>
#include <stdint.h>
+#include <shlib-compat.h>
#include "math_config.h"
/*
#define OFF 0x3f330000
float
-__ieee754_logf (float x)
+__logf (float x)
{
/* double_t for better performance on targets with FLT_EVAL_METHOD==2. */
double_t z, r, r2, y, y0, invc, logc;
y = y * r2 + (y0 + r);
return (float) y;
}
-strong_alias (__ieee754_logf, __logf_finite)
+#ifndef __logf
+strong_alias (__logf, __ieee754_logf)
+strong_alias (__logf, __logf_finite)
+versioned_symbol (libm, __logf, logf, GLIBC_2_27);
+#endif
#include <math.h>
#include <stdint.h>
+#include <shlib-compat.h>
#include "math_config.h"
/*
}
float
-__ieee754_powf (float x, float y)
+__powf (float x, float y)
{
unsigned long sign_bias = 0;
uint32_t ix, iy;
}
return (float) exp2_inline (ylogx, sign_bias);
}
-strong_alias (__ieee754_powf, __powf_finite)
+#ifndef __powf
+strong_alias (__powf, __ieee754_powf)
+strong_alias (__powf, __powf_finite)
+versioned_symbol (libm, __powf, powf, GLIBC_2_27);
+#endif
--- /dev/null
+/* Not needed. */
--- /dev/null
+/* Not needed. */
--- /dev/null
+/* Not needed. */
--- /dev/null
+#include <sysdeps/../math/w_log2f.c>
--- /dev/null
+#include <sysdeps/../math/w_logf.c>
--- /dev/null
+#include <sysdeps/../math/w_powf.c>