about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/w_sqrt_compat.c
blob: f5d3cf91d107a3e443467c70aa0735afb17745d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* The inline __ieee754_sqrt is not correctly rounding; it's OK for
   most internal uses in glibc, but not for sqrt itself.  */
#define NO_MATH_REDIRECT
#define __ieee754_sqrt __avoid_ieee754_sqrt
#define f32xsqrtf64 __hide_f32xsqrtf64
#include <math.h>
#undef f32xsqrtf64
#include <math_private.h>
#undef __ieee754_sqrt
extern double __ieee754_sqrt (double);
#include <math/w_sqrt_compat.c>